Stop the game from freezing if we play a song during a fadeout (#61)

This commit is contained in:
Info Teddy
2020-01-12 19:33:58 -08:00
committed by Ethan Lee
parent c2ac1dc7d2
commit 5419e822d8
3 changed files with 21 additions and 1 deletions

View File

@@ -248,6 +248,7 @@ void scriptclass::run( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map,
if (words[0] == "musicfadeout")
{
music.fadeout();
music.dontquickfade = true;
}
if (words[0] == "musicfadein")
{