mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -1909,12 +1909,9 @@ void gameinput()
|
|||||||
else if (game.intimetrial && graphics.fademode==0)
|
else if (game.intimetrial && graphics.fademode==0)
|
||||||
{
|
{
|
||||||
//Quick restart of time trial
|
//Quick restart of time trial
|
||||||
script.hardreset();
|
|
||||||
if (graphics.setflipmode) graphics.flipmode = true;
|
|
||||||
graphics.fademode = 2;
|
graphics.fademode = 2;
|
||||||
game.completestop = true;
|
game.completestop = true;
|
||||||
music.fadeout();
|
music.fadeout();
|
||||||
game.intimetrial = true;
|
|
||||||
game.quickrestartkludge = true;
|
game.quickrestartkludge = true;
|
||||||
}
|
}
|
||||||
else if (graphics.fademode==0)
|
else if (graphics.fademode==0)
|
||||||
|
|||||||
Reference in New Issue
Block a user