mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 07:37:56 -05:00
MOTD: fix not entering afterlife when downed
This commit is contained in:
@ -144,6 +144,7 @@ afterlife_laststand(b_electric_chair = 0)
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.dontspeak = 1;
|
self.dontspeak = 1;
|
||||||
|
self.health = self.maxhealth;
|
||||||
b_has_electric_cherry = 0;
|
b_has_electric_cherry = 0;
|
||||||
|
|
||||||
if (self hasperk("specialty_grenadepulldeath"))
|
if (self hasperk("specialty_grenadepulldeath"))
|
||||||
@ -600,10 +601,7 @@ afterlife_player_damage_callback(einflictor, eattacker, idamage, idflags, smeans
|
|||||||
self.afterlife = 1;
|
self.afterlife = 1;
|
||||||
self thread afterlife_laststand();
|
self thread afterlife_laststand();
|
||||||
|
|
||||||
if (self.health <= 1)
|
return 0;
|
||||||
return 0;
|
|
||||||
else
|
|
||||||
idamage = self.health - 1;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
self thread last_stand_conscience_vo();
|
self thread last_stand_conscience_vo();
|
||||||
|
Reference in New Issue
Block a user