SERVER: Stop instantly downing the Player if their health <= 20

This commit is contained in:
Steam Deck User 2023-03-10 11:52:21 -05:00
parent a0b89faa22
commit 6284935b81

View file

@ -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;