summaryrefslogtreecommitdiff
path: root/src/music_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/music_gui.cpp')
-rw-r--r--src/music_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/music_gui.cpp b/src/music_gui.cpp
index 4333e889c..c5cfb3bae 100644
--- a/src/music_gui.cpp
+++ b/src/music_gui.cpp
@@ -191,6 +191,7 @@ static void DoPlaySong()
FioFindFullPath(filename, lastof(filename), OLD_GM_DIR, songinfo.filename);
}
songinfo.filename = filename; // non-owned pointer
+ songinfo.loop = (_game_mode == GM_MENU) && (_music_wnd_cursong == 1);
MusicDriver::GetInstance()->PlaySong(songinfo);
SetWindowDirty(WC_MUSIC_WINDOW, 0);
}