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

Replace bank and weapon locker scripts only on specific maps

Fixes maps that do not have bank and weapon locker being unable to load
This commit is contained in:
Jbleezy
2022-01-12 04:03:38 -08:00
parent 82f0c315dd
commit a9df3f0759
7 changed files with 17 additions and 23 deletions

View File

@ -1,15 +0,0 @@
#include maps\mp\_utility;
#include common_scripts\utility;
#include maps\mp\zombies\_zm_utility;
#include maps/mp/zombies/_zm_weapon_locker;
main()
{
if ( !isDefined( level.weapon_locker_map ) )
{
level.weapon_locker_map = level.script;
}
level.weapon_locker_online = 0;
weapon_lockers = getstructarray( "weapons_locker", "targetname" );
array_thread( weapon_lockers, ::triggerweaponslockerwatch );
}