Prevent invin time from stacking
This commit is contained in:
parent
8b5b674364
commit
76bffc3d60
1 changed files with 1 additions and 1 deletions
|
|
@ -5254,7 +5254,7 @@ void K_DoInvincibility(player_t *player, tic_t time)
|
|||
P_SetScale(overlay, player->mo->scale);
|
||||
}
|
||||
|
||||
player->invincibilitytimer += time;
|
||||
player->invincibilitytimer = time;
|
||||
|
||||
if (P_IsLocalPlayer(player) == true)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue