mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 14:42:05 +00:00
SERVER: Stop instantly downing the Player if their health <= 20
This commit is contained in:
parent
a0b89faa22
commit
6284935b81
1 changed files with 2 additions and 1 deletions
|
@ -505,7 +505,8 @@ void(entity victim,entity attacker, float damage, float d_style) DamageHandler =
|
|||
else
|
||||
sound (self, CHAN_AUTO, "sounds/machines/elec_shock.wav", 1, ATTN_NORM);
|
||||
|
||||
if (victim.health <= 20)
|
||||
// Was 20 for.. some reason.
|
||||
if (victim.health <= 1)
|
||||
{
|
||||
old_self = self;
|
||||
self = victim;
|
||||
|
|
Loading…
Reference in a new issue