This commit is contained in:
INeedBots 2021-03-12 18:31:21 -06:00
parent 7497b656cb
commit ff670e2a43

View File

@ -270,6 +270,10 @@ onStartGameType()
winlimit = getWatchedDvar("winlimit"); winlimit = getWatchedDvar("winlimit");
allowed[0] = "dd"; allowed[0] = "dd";
bombZones = getEntArray( "dd_bombzone", "targetname" );
if ( bombZones.size )
allowed[1] = "dd_bombzone";
else
allowed[1] = "bombzone"; allowed[1] = "bombzone";
allowed[2] = "blocker"; allowed[2] = "blocker";
maps\mp\gametypes\_gameobjects::main(allowed); maps\mp\gametypes\_gameobjects::main(allowed);
@ -453,6 +457,8 @@ bombs()
level.bombZones = []; level.bombZones = [];
bombZones = getEntArray( "dd_bombzone", "targetname" );
if ( !bombZones.size )
bombZones = getEntArray( "bombzone", "targetname" ); bombZones = getEntArray( "bombzone", "targetname" );
for ( index = 0; index < bombZones.size; index++ ) for ( index = 0; index < bombZones.size; index++ )