Merge pull request #21 from JoelColby/fix-demolition-spawns

Fix spawnpoints for defenders in Demolition
pull/3/head
Dss0 2022-06-01 21:26:09 +02:00 committed by GitHub
commit 619b2eb4d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -248,9 +248,9 @@ onStartGameType()
maps\mp\gametypes\_spawnlogic::placeSpawnPoints( "mp_dd_spawn_attacker_start" );
if ( getDvar( "mapname" ) == "mp_shipment_long" )
level.spawn_attackers = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_cha_spawn_axis" );
level.spawn_defenders = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_cha_spawn_axis" );
else
level.spawn_attackers = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_dd_spawn_defender" );
level.spawn_defenders = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_dd_spawn_defender" );
level.spawn_defenders_a = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_dd_spawn_defender_a" );
level.spawn_defenders_a = array_combine( level.spawn_defenders, level.spawn_defenders_a );