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

Grief on Borough: fix buildables not being built

This commit is contained in:
Jbleezy 2023-02-24 21:19:24 -08:00
parent 1b8c02f2d9
commit 557e1d9070
2 changed files with 15 additions and 2 deletions

View File

@ -106,8 +106,7 @@ builddynamicwallbuys()
builddynamicwallbuy( "church", "svu_zm" );
builddynamicwallbuy( "mansion", "an94_zm" );
scripts\zm\_zm_reimagined::wallbuy_increase_trigger_radius();
scripts\zm\_zm_reimagined::wallbuy_decrease_upgraded_ammo_cost();
level notify("dynamicwallbuysbuilt");
}
builddynamicwallbuy( location, weaponname )

View File

@ -273,6 +273,7 @@ post_all_players_spawned()
level thread buildcraftables();
level thread wallbuy_dynamic_update();
level thread wallbuy_dynamic_zgrief_update();
//level.round_number = 115;
//level.zombie_move_speed = 105;
@ -2592,6 +2593,19 @@ wallbuy_dynamic_update()
}
}
wallbuy_dynamic_zgrief_update()
{
if(!(level.scr_zm_ui_gametype == "zgrief" && level.scr_zm_map_start_location == "street"))
{
return;
}
level waittill("dynamicwallbuysbuilt");
wallbuy_increase_trigger_radius();
wallbuy_decrease_upgraded_ammo_cost();
}
weapon_inspect_watcher()
{
level endon( "end_game" );