Fix some damage being counted wrongly which causes desyncs
This commit is contained in:
parent
ff2cf72c81
commit
d97f780a8b
@ -815,7 +815,7 @@ public:
|
||||
|
||||
// General damage counter
|
||||
int damage = event->GetInt("damageamount");
|
||||
if (damage > player_status_list[victim].health)
|
||||
if (damage > player_status_list[victim].health && !event->GetInt("health"))
|
||||
damage = player_status_list[victim].health;
|
||||
|
||||
// Not a melee weapon
|
||||
|
Reference in New Issue
Block a user