mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-05 22:42:54 +00:00
Don't multiapply bumpslow rubberband penalty
This commit is contained in:
parent
c5c413e2fe
commit
a623526ebd
1 changed files with 2 additions and 1 deletions
|
|
@ -15871,7 +15871,8 @@ void K_BotHitPenalty(player_t *player)
|
|||
{
|
||||
if (K_PlayerUsesBotMovement(player))
|
||||
{
|
||||
player->botvars.rubberband = max(player->botvars.rubberband/2, FRACUNIT/2);
|
||||
if (!player->botvars.bumpslow)
|
||||
player->botvars.rubberband = max(3*player->botvars.rubberband/4, FRACUNIT/2);
|
||||
player->botvars.bumpslow = TICRATE*2;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue