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:
Misa authored and Ethan Lee committed 2020-08-14 23:07:02 -04:00
1 parent c95b95f5b7
commit fb6635abec
1 file changed
-3
-3
View File
@@ -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)