1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00

Tranzit: optimize bus wallbuy code

This commit is contained in:
Jbleezy
2024-01-04 01:45:31 -08:00
parent 6d113e2e2a
commit cf854de4b8
4 changed files with 52 additions and 37 deletions

View File

@ -12,6 +12,12 @@ wallbuy_player_connect(localclientnum)
for (i = 0; i < keys.size; i++)
{
wallbuy = level._active_wallbuys[keys[i]];
if (isdefined(wallbuy.script_string) && wallbuy.script_string == "bus_buyable_weapon1")
{
continue;
}
fx = level._effect["m14_zm_fx"];
if (wallbuy.targetname == "buildable_wallbuy")