1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 07:08:06 -05:00

Grief: player damage checks health when stunned

This commit is contained in:
Jbleezy
2021-12-07 19:34:32 -08:00
parent 90863465d3
commit 23edc803f4

View File

@ -690,9 +690,11 @@ remove_damage_info()
self endon("new_griefer");
self endon("disconnect");
health = self.health;
wait_network_frame(); // need to wait at least one frame
while((is_true(self._being_shellshocked) || self.health < self.maxhealth) && is_player_valid(self))
while((is_true(self._being_shellshocked) || self.health <= health) && is_player_valid(self))
{
wait_network_frame();
}