diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-03-03 20:54:59 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-03-03 20:54:59 +0000 |
commit | 81809dfba9a8329f07d68d1fd66133161234effa (patch) | |
tree | 94c6571b4be52dbd03435ffee478a41e8c062922 /Northstar.CustomServers/mod/scripts/vscripts/gamemodes | |
parent | fd0c66f5c84b7b6c349c3362c3e6df555c393aa5 (diff) | |
download | NorthstarMods-81809dfba9a8329f07d68d1fd66133161234effa.tar.gz NorthstarMods-81809dfba9a8329f07d68d1fd66133161234effa.zip |
spectator refactor and private match spectator support
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/gamemodes')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ttdm.nut | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ttdm.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ttdm.nut index 3102326c..6b30a399 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ttdm.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ttdm.nut @@ -36,7 +36,12 @@ void function TTDMIntroStartThreaded() ClassicMP_OnIntroStarted()
foreach ( entity player in GetPlayerArray() )
- TTDMIntroShowIntermissionCam( player )
+ {
+ if ( !IsPrivateMatchSpectator( player ) )
+ TTDMIntroShowIntermissionCam( player )
+ else
+ RespawnPrivateMatchSpectator( player )
+ }
wait TTDMIntroLength
|