From 33923201480f2c85665928afbb05a99416c5d7d5 Mon Sep 17 00:00:00 2001 From: NintwnDude879 Date: Wed, 22 Nov 2023 19:28:04 -0800 Subject: [PATCH] Fixed not resetting properly for multiple ending runners --- FNaFSBAutoSplitter.asl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FNaFSBAutoSplitter.asl b/FNaFSBAutoSplitter.asl index 4dce660..f3bb4e7 100644 --- a/FNaFSBAutoSplitter.asl +++ b/FNaFSBAutoSplitter.asl @@ -1112,7 +1112,7 @@ update { #endregion //Reset variables on starting a new game (even if you don't reset for new game) - if (vars.getHour() == -1 && vars.getMinute() == 0 && vars.getOldHour() != -1 && vars.getOldMinute() != 0){ + if ((vars.getHour() == -1 && vars.getMinute() == 0) && (vars.getOldHour() != -1 || vars.getOldMinute() != 0)){ vars.resetVariables(); } //if (vars.watchers["closestInteractibleAddress"].Current != vars.watchers["closestInteractibleAddress"].Old) @@ -1145,6 +1145,7 @@ start { reset { //Resets timer upon starting new game/loading a game from the starting file if (settings["Reset Settings"] && vars.getOldHour() != -1 && vars.checkTime("Reset On New Game", -1, 0)){ + vars.resetVariables(); print("Reset on New Game"); return true; }