Fix Time Trial results being reset before being shown

This makes it so when a Time Trial gets completed, all the relevant
variables get copied onto variables prefixed with 'timetrialresult',
which never get reset by script.hardreset(). Then titlerender() will use
those variables accordingly.
This commit is contained in:
Misa authored and Ethan Lee committed 2021-01-18 13:06:15 -05:00
1 parent ee0ba8a723
commit 4d7baa9e9e
4 files changed
+19 -8

No files matched your search

+2
View File
@@ -295,6 +295,8 @@ public:
bool intimetrial, timetrialparlost;
int timetrialcountdown, timetrialshinytarget, timetriallevel;
int timetrialpar, timetrialresulttime, timetrialresultframes, timetrialrank;
int timetrialresultshinytarget, timetrialresulttrinkets, timetrialresultpar;
int timetrialresultdeaths;
int creditposition;
int oldcreditposition;