Fix async song load

Fixes #739
This commit is contained in:
Jonas Kvinge
2021-07-28 22:25:33 +02:00
parent 62a5031ccf
commit 553e8baa8b
4 changed files with 4 additions and 2 deletions

View File

@@ -339,7 +339,7 @@ void SongLoader::EffectiveSongLoad(Song *song) {
if (!song) return;
if (song->filetype() != Song::FileType_Unknown) {
if (song->init_from_file() && song->filetype() != Song::FileType_Unknown) {
// Maybe we loaded the metadata already, for example from a cuesheet.
return;
}