mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
avoid decrementing timer to 0, which with BgMizu can cause timer to go below 0 & break
This commit is contained in:
parent
9c66e34989
commit
9c48f35fc5
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ void RegisterSwitchTimerMultiplier() {
|
|||
*should = false;
|
||||
} else if (gPlayState->gameplayFrames % (6 + multiplier) == 0) {
|
||||
s16* timer = va_arg(args, s16*);
|
||||
*timer -= *timer > 0;
|
||||
*timer -= *timer > 1;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue