mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-21 04:30:32 -05:00
Meat: fix multiple meat powerups spawning from forced powerup spawn
This commit is contained in:
@ -27,6 +27,11 @@ meat_stink_on_ground(position_to_play)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_true(level.meat_on_ground))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
level.meat_on_ground = 1;
|
level.meat_on_ground = 1;
|
||||||
level.meat_powerup = maps\mp\zombies\_zm_powerups::specific_powerup_drop( "meat_stink", position_to_play );
|
level.meat_powerup = maps\mp\zombies\_zm_powerups::specific_powerup_drop( "meat_stink", position_to_play );
|
||||||
level.meat_on_ground = undefined;
|
level.meat_on_ground = undefined;
|
||||||
|
@ -3169,6 +3169,11 @@ meat_powerup_drop_on_downed()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_true(level.meat_on_ground))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
valid_drop = 0;
|
valid_drop = 0;
|
||||||
playable_area = getentarray("player_volume", "script_noteworthy");
|
playable_area = getentarray("player_volume", "script_noteworthy");
|
||||||
for (i = 0; i < playable_area.size; i++)
|
for (i = 0; i < playable_area.size; i++)
|
||||||
|
Reference in New Issue
Block a user