mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-08 18:09:45 +01:00
Remove script.hardreset() when restarting Time Trial
There's not really any need for it to be there. It gets called when the Time Trial restarts, as restarting the Time Trial calls script.startgamemode(), which calls script.hardreset() anyway. Furthermore, since script.hardreset() is removed, we can also remove two lines that are meant to work around the fact that everything gets reset, which is now no longer the case. Fixes #367.
This commit is contained in:
parent
c95b95f5b7
commit
fb6635abec
1 changed files with 0 additions and 3 deletions
|
@ -1909,12 +1909,9 @@ void gameinput()
|
|||
else if (game.intimetrial && graphics.fademode==0)
|
||||
{
|
||||
//Quick restart of time trial
|
||||
script.hardreset();
|
||||
if (graphics.setflipmode) graphics.flipmode = true;
|
||||
graphics.fademode = 2;
|
||||
game.completestop = true;
|
||||
music.fadeout();
|
||||
game.intimetrial = true;
|
||||
game.quickrestartkludge = true;
|
||||
}
|
||||
else if (graphics.fademode==0)
|
||||
|
|
Loading…
Reference in a new issue