mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-17 10:38:04 -05:00
Meat: fix multiple meat powerups spawning again
This commit is contained in:
@ -22,6 +22,11 @@ meat_stink_on_ground(position_to_play)
|
||||
{
|
||||
if(level.scr_zm_ui_gametype_obj == "zmeat")
|
||||
{
|
||||
if (isDefined(level.meat_powerup))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
players = get_players();
|
||||
foreach (player in players)
|
||||
{
|
||||
|
@ -3139,6 +3139,16 @@ meat_powerup_drop_on_downed()
|
||||
|
||||
self waittill("player_downed");
|
||||
|
||||
if (isDefined(level.item_meat))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (isDefined(level.meat_powerup))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
valid_drop = 0;
|
||||
playable_area = getentarray("player_volume", "script_noteworthy");
|
||||
for (i = 0; i < playable_area.size; i++)
|
||||
|
Reference in New Issue
Block a user