mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Fix -playmusic command line option not working
There's a bug where playtesting from Ved doesn't properly play the music of the level, due to no fault with Ved. This was because the music was being faded out by scriptclass::startgamemode() case 23 after main() called music.play(). To fix this, just call music.play() when all the other variables are being set in Game::customloadquick().
This commit is contained in:
@@ -5163,6 +5163,7 @@ void Game::customloadquick(std::string savfile)
|
||||
saverx = playrx;
|
||||
savery = playry;
|
||||
savegc = playgc;
|
||||
music.play(playmusic);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user