1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-12 16:18:00 -05:00

Tombstone: fix powerup not spawning sometimes when perks are retained

This commit is contained in:
Jbleezy
2023-05-11 17:22:34 -07:00
parent 76006e92b5
commit a580df14e9

View File

@ -1953,8 +1953,12 @@ player_laststand( einflictor, attacker, idamage, smeansofdeath, sweapon, vdir, s
{ {
self [[ level.tombstone_laststand_func ]](); self [[ level.tombstone_laststand_func ]]();
self thread [[ level.tombstone_spawn_func ]](); self thread [[ level.tombstone_spawn_func ]]();
self.hasperkspecialtytombstone = undefined;
self notify( "specialty_scavenger_stop" ); if (!is_true(self._retain_perks))
{
self.hasperkspecialtytombstone = undefined;
self notify( "specialty_scavenger_stop" );
}
} }
self clear_is_drinking(); self clear_is_drinking();
self thread maps\mp\zombies\_zm::remove_deadshot_bottle(); self thread maps\mp\zombies\_zm::remove_deadshot_bottle();