diff options
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_no_intro.gnut')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_no_intro.gnut | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_no_intro.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_no_intro.gnut index 106f867b1..7901e3a23 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_no_intro.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_no_intro.gnut @@ -38,8 +38,12 @@ void function ClassicMP_DefaultNoIntro_Start() foreach ( entity player in GetPlayerArray() ) { - player.UnfreezeControlsOnServer() - RemoveCinematicFlag( player, CE_FLAG_CLASSIC_MP_SPAWNING ) + if ( !IsPrivateMatchSpectator( player ) ) + { + player.UnfreezeControlsOnServer() + RemoveCinematicFlag( player, CE_FLAG_CLASSIC_MP_SPAWNING ) + } + TryGameModeAnnouncement( player ) } } @@ -52,6 +56,12 @@ void function ClassicMP_DefaultNoIntro_SpawnPlayer( entity player ) if ( GetGameState() != eGameState.Prematch ) return + if ( IsPrivateMatchSpectator( player ) ) // private match spectators use custom spawn logic + { + RespawnPrivateMatchSpectator( player ) + return + } + if ( IsAlive( player ) ) player.Die() |