mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-23 06:15:43 +00:00
patch_mp
This commit is contained in:
parent
7497b656cb
commit
ff670e2a43
@ -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++ )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user