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

MOTD: fix not entering afterlife when downed

This commit is contained in:
Jbleezy
2024-01-21 00:41:13 -08:00
parent 034f57d7aa
commit 10c28d396e

View File

@ -144,6 +144,7 @@ afterlife_laststand(b_electric_chair = 0)
}
self.dontspeak = 1;
self.health = self.maxhealth;
b_has_electric_cherry = 0;
if (self hasperk("specialty_grenadepulldeath"))
@ -600,10 +601,7 @@ afterlife_player_damage_callback(einflictor, eattacker, idamage, idflags, smeans
self.afterlife = 1;
self thread afterlife_laststand();
if (self.health <= 1)
return 0;
else
idamage = self.health - 1;
return 0;
}
else
self thread last_stand_conscience_vo();