Skip to content

Commit

Permalink
Tweak unpause thing
Browse files Browse the repository at this point in the history
  • Loading branch information
aMannus committed Sep 26, 2024
1 parent 8455e16 commit df97e7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soh/soh/Enhancements/ChaosRace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,10 @@ void ChaosRace_HandleTriggers() {
GameInteractor::State::DisableLedgeGrabsActive = 0;
}

// If paused, chance to automatically unpause (average after a second)
// If paused, chance to automatically unpause (average after 3 seconds)
if (gPlayState->pauseCtx.state != 0) {
randomNumber = rand();
if (randomNumber % 20) {
if (randomNumber % 60 == 1) {
GameInteractor::State::EmulatedButtons |= BTN_START;
}
}
Expand Down

0 comments on commit df97e7d

Please sign in to comment.