1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-27 15:40:34 -05:00

Fixed bug with Who's Who removing solo revives

This commit is contained in:
Jbleezy
2020-03-29 00:42:24 -07:00
parent 7411954bbd
commit 3114583dd0

View File

@ -3319,10 +3319,20 @@ solo_lives_fix()
self.lives = 3; self.lives = 3;
self.bought_solo_revive = 0; self.bought_solo_revive = 0;
saved_lives = self.lives;
while (1) while (1)
{ {
self waittill_any("perk_acquired", "perk_lost"); self waittill_any("perk_acquired", "perk_lost", "player_revived");
if (self hasPerk("specialty_finalstand"))
{
self waittill_any("chugabud_effects_cleanup", "specialty_finalstand_stop");
self.lives = saved_lives;
continue;
}
saved_lives = self.lives;
if (self.perks_active.size < 1) if (self.perks_active.size < 1)
{ {