diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index 05dde775..afccd5c0 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -5387,7 +5387,10 @@ void Game::customloadquick(const std::string& savfile) saverx = playrx; savery = playry; savegc = playgc; - music.play(playmusic); + if (playmusic > -1) + { + music.play(playmusic); + } return; } diff --git a/desktop_version/src/main.cpp b/desktop_version/src/main.cpp index 316a0b6b..827b18ff 100644 --- a/desktop_version/src/main.cpp +++ b/desktop_version/src/main.cpp @@ -61,7 +61,7 @@ static int savey = 0; static int saverx = 0; static int savery = 0; static int savegc = 0; -static int savemusic = 0; +static int savemusic = -1; static std::string playassets; static std::string playtestname;