mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-21 12:40:20 -05:00
Meat Pro: fix meat not being able to spawn
This commit is contained in:
@ -2848,6 +2848,11 @@ meat_powerup_drop_think()
|
||||
level.zombie_powerup_ape = "meat_stink";
|
||||
level.zombie_vars["zombie_drop_item"] = 1;
|
||||
|
||||
if (is_true(level.scr_zm_ui_gametype_pro))
|
||||
{
|
||||
level.zombie_vars["zombie_powerup_drop_max_per_round"] = 1;
|
||||
}
|
||||
|
||||
level waittill( "powerup_dropped", powerup );
|
||||
|
||||
if (powerup.powerup_name != "meat_stink")
|
||||
@ -2855,6 +2860,11 @@ meat_powerup_drop_think()
|
||||
continue;
|
||||
}
|
||||
|
||||
if (is_true(level.scr_zm_ui_gametype_pro))
|
||||
{
|
||||
level.zombie_vars["zombie_powerup_drop_max_per_round"] = 0;
|
||||
}
|
||||
|
||||
players = get_players();
|
||||
foreach (player in players)
|
||||
{
|
||||
|
Reference in New Issue
Block a user