aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-06-27 20:55:35 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-06-27 20:55:35 +0100
commit31c8a052e8f3cdccedb7f6f8d2bd11678189001a (patch)
tree869dae43cbbcb14d56e842cbd098a5db55854b20 /Northstar.CustomServers/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
parent3f31a4a37a2acf8df302117c99c060cec5996704 (diff)
downloadNorthstarMods-31c8a052e8f3cdccedb7f6f8d2bd11678189001a.tar.gz
NorthstarMods-31c8a052e8f3cdccedb7f6f8d2bd11678189001a.zip
added ttdm, more scoreevents and ctf comp
Diffstat (limited to 'Northstar.CustomServers/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut')
-rw-r--r--Northstar.CustomServers/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut b/Northstar.CustomServers/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
index 20455c696..d4712cf1b 100644
--- a/Northstar.CustomServers/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
+++ b/Northstar.CustomServers/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
@@ -104,7 +104,7 @@ void function OnPrematchStart()
array<entity> dropshipSpawns = GetEntArrayByClass_Expensive( "info_spawnpoint_dropship_start" )
foreach ( entity dropshipSpawn in dropshipSpawns )
{
- if ( GameModeRemove( dropshipSpawn ) )
+ if ( GameModeRemove( dropshipSpawn ) || ( GetSpawnpointGamemodeOverride() != GAMETYPE && dropshipSpawn.kv[ "gamemode_" + GetSpawnpointGamemodeOverride() ] == "0" ) )
continue
// todo: possibly make this only spawn dropships if we've got enough players to need them