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

Meat: fix multiple meat powerups spawning from forced powerup spawn

This commit is contained in:
Jbleezy
2023-03-02 13:37:54 -08:00
parent 33735f059c
commit 1de8b2e74a
2 changed files with 10 additions and 0 deletions

View File

@ -27,6 +27,11 @@ meat_stink_on_ground(position_to_play)
return;
}
if (is_true(level.meat_on_ground))
{
return;
}
level.meat_on_ground = 1;
level.meat_powerup = maps\mp\zombies\_zm_powerups::specific_powerup_drop( "meat_stink", position_to_play );
level.meat_on_ground = undefined;

View File

@ -3169,6 +3169,11 @@ meat_powerup_drop_on_downed()
return;
}
if (is_true(level.meat_on_ground))
{
return;
}
valid_drop = 0;
playable_area = getentarray("player_volume", "script_noteworthy");
for (i = 0; i < playable_area.size; i++)