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:
Misa
2020-07-11 11:55:26 -07:00
committed by Ethan Lee
parent 15319b9ed0
commit 199a8f45d6
3 changed files with 3 additions and 1 deletions

View File

@@ -387,6 +387,7 @@ public:
int playrx;
int playry;
int playgc;
int playmusic;
std::string playassets;
void quittomenu();