Fix 1-frame background glitch when returning from in-game options

The background would change for 1 frame before sending you back to the
pause menu or editor settings. The map.nexttowercolour() call needs to
be deferred until the end of the frame.
This commit is contained in:
Misa
2021-03-18 21:12:55 -07:00
committed by Ethan Lee
parent 5088ff40e9
commit 951679b1f8
2 changed files with 7 additions and 2 deletions

View File

@@ -1638,10 +1638,9 @@ void titleinput(void)
else
{
game.returnmenu();
map.nexttowercolour();
}
}
map.nexttowercolour();
}
if(game.menustart)