Skip to content

Commit

Permalink
Very small optimization
Browse files Browse the repository at this point in the history
Rifts won't be detected if the user isn't using detailed splits.
  • Loading branch information
cccarl committed Oct 11, 2020
1 parent bc25439 commit 79adff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AHatInTime.asl
Expand Up @@ -425,7 +425,7 @@ update {
vars.justEnteredRift = false;
}
// rift entry detection
if (vars.gameTimerIsPaused.Changed && vars.currentRift == "none"){
if (vars.gameTimerIsPaused.Changed && vars.currentRift == "none" && settings["manySplits"]){
vars.currentRift = vars.CurrentRiftCheck(current.chapter, current.x, current.y, current.z);
if (vars.currentRift != "none"){
vars.justEnteredRift = true;
Expand Down

0 comments on commit 79adff8

Please sign in to comment.