mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Don't reset timetrialparlost every frame during countdown
Otherwise, if the timer ticked up past the par (via using the unfocus pause or pause menu), it would result in the sad squeak being played every frame because the game would constantly be setting timetrialparlost, then moving to the code block below, assuming that since timetrialparlost that we haven't lost the par already, and playing the squeak. timetrialparlost gets reset in hardreset() and startgamemode() anyways, so there's no need to be constantly resetting this variable. Fixes #699.
This commit is contained in:
parent
3728edc335
commit
54c0a8a109
1 changed files with 0 additions and 1 deletions
|
@ -731,7 +731,6 @@ void gamelogic(void)
|
|||
|
||||
if (game.timetrialcountdown > 0)
|
||||
{
|
||||
game.timetrialparlost = false;
|
||||
game.hascontrol = true;
|
||||
game.timetrialcountdown--;
|
||||
if (game.timetrialcountdown > 30)
|
||||
|
|
Loading…
Reference in a new issue