diff --git a/source/music/MusicPlayer.cpp b/source/music/MusicPlayer.cpp index 907087cd..f2f243e9 100644 --- a/source/music/MusicPlayer.cpp +++ b/source/music/MusicPlayer.cpp @@ -144,7 +144,10 @@ void Musicplayer::LoadCurrentFile() void Musicplayer::LoadFile(const char *name, bool display_change) { if(FileNames.empty()) + { FileNames.push_back(PLUGIN_DOMAIN); + CurrentFileName = FileNames.begin(); + } else if(FileNames.size() == 1 && strcmp(name, PLUGIN_DOMAIN) == 0) { Cleanup();