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

Vulture-Aid: crash fixes

This commit is contained in:
Jbleezy 2020-02-25 11:59:09 -08:00
parent b482366eb1
commit 0437513816

View File

@ -1418,13 +1418,26 @@ buried_enable_fountain_transport()
vulture_disable_stink_while_standing() vulture_disable_stink_while_standing()
{ {
self endon( "disconnect" );
if(!(is_classic() && level.scr_zm_map_start_location == "processing")) if(!(is_classic() && level.scr_zm_map_start_location == "processing"))
{ {
return; return;
} }
while(!isDefined(self.perk_vulture))
{
wait 0.05;
}
while(1) while(1)
{ {
if (!self.perk_vulture.active)
{
wait 0.05;
continue;
}
self.perk_vulture.is_in_zombie_stink = 1; self.perk_vulture.is_in_zombie_stink = 1;
self.perk_vulture.stink_time_entered = undefined; self.perk_vulture.stink_time_entered = undefined;