aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut')
-rw-r--r--Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut9
1 files changed, 7 insertions, 2 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut
index b4c183280..018af57df 100644
--- a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut
+++ b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut
@@ -103,7 +103,7 @@ void function OnPrematchStart()
thread AnimateBuddy( file.imcBuddy )
foreach ( entity player in GetPlayerArray() )
- thread FastballPlayer( player )
+ AddPlayerToFastballIntro( player )
}
void function AnimateBuddy( entity buddy )
@@ -135,7 +135,12 @@ void function AnimateBuddy( entity buddy )
void function AddPlayerToFastballIntro( entity player )
{
if ( GetGameState() == eGameState.Prematch )
- thread FastballPlayer( player )
+ {
+ if ( !IsPrivateMatchSpectator( player ) )
+ thread FastballPlayer( player )
+ else
+ RespawnPrivateMatchSpectator( player )
+ }
}
void function FastballPlayer( entity player )