diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-01-01 23:08:01 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-01-01 23:08:01 +0000 |
commit | 4b07c01ff192ffb492359509babd8eedc554ea85 (patch) | |
tree | 8835fed5d0e36c6f6c9691cb96026649e9c1abb5 /Northstar.CustomServers/mod/scripts/vscripts/mp | |
parent | a5b567724f20db8ccd8483ff404b75653d10d067 (diff) | |
download | NorthstarMods-4b07c01ff192ffb492359509babd8eedc554ea85.tar.gz NorthstarMods-4b07c01ff192ffb492359509babd8eedc554ea85.zip |
fix dropship intro using the wrong team's spawns
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut index 8e624c14..1e19abd3 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut @@ -86,7 +86,7 @@ void function OnPrematchStart() foreach ( entity dropshipSpawn in validDropshipSpawns ) { // todo: possibly make this only spawn dropships if we've got enough players to need them - int createTeam = HasSwitchedSides() ? dropshipSpawn.GetTeam() : GetOtherTeam( dropshipSpawn.GetTeam() ) + int createTeam = HasSwitchedSides() ? GetOtherTeam( dropshipSpawn.GetTeam() ) : dropshipSpawn.GetTeam() array<IntroDropship> teamDropships = createTeam == TEAM_MILITIA ? file.militiaDropships : file.imcDropships if ( teamDropships.len() >= 2 ) |