mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-30 19:52:43 +00:00
Reduce time gain on stacked invincibility
This commit is contained in:
parent
2641ba2380
commit
36c6af6eae
1 changed files with 1 additions and 1 deletions
|
|
@ -6729,7 +6729,7 @@ void K_DoInvincibility(player_t *player, tic_t time)
|
|||
S_StartSound(player->mo, sfx_alarmi);
|
||||
}
|
||||
|
||||
player->invincibilitytimer += time;
|
||||
player->invincibilitytimer = max(time, player->invincibilitytimer + 5*TICRATE);
|
||||
}
|
||||
|
||||
void K_KillBananaChain(mobj_t *banana, mobj_t *inflictor, mobj_t *source)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue