avoid decrementing timer to 0, which with BgMizu can cause timer to go below 0 & break

This commit is contained in:
Demur Rumed 2025-06-05 02:54:45 +00:00
commit 9c48f35fc5

View file

@ -13,7 +13,7 @@ void RegisterSwitchTimerMultiplier() {
*should = false; *should = false;
} else if (gPlayState->gameplayFrames % (6 + multiplier) == 0) { } else if (gPlayState->gameplayFrames % (6 + multiplier) == 0) {
s16* timer = va_arg(args, s16*); s16* timer = va_arg(args, s16*);
*timer -= *timer > 0; *timer -= *timer > 1;
} }
} }
}); });