aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp/levels
diff options
context:
space:
mode:
authorRoyalBlue1 <realEmail@veryRealURL.com>2022-10-18 02:33:57 +0200
committerRoyalBlue1 <realEmail@veryRealURL.com>2022-10-18 02:33:57 +0200
commit52dab1de818e957c3817548de9bf23c1471172dd (patch)
tree0cfba289dda76c0851a8e8a587f6d0561cbf251a /Northstar.CustomServers/mod/scripts/vscripts/mp/levels
parente32bd27b12d198301e0221a1f4176c854487c6a9 (diff)
parent118f9414326b0af067ee2a925d052c3ee17e4bef (diff)
downloadNorthstarMods-52dab1de818e957c3817548de9bf23c1471172dd.tar.gz
NorthstarMods-52dab1de818e957c3817548de9bf23c1471172dd.zip
Merge remote-tracking branch 'upsteam/main' into gamemode_fd
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp/levels')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut3
1 files changed, 2 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut
index bb03f1f5..d0ce4f79 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut
@@ -344,7 +344,8 @@ void function PlayerWatchesWargamesIntro( entity player )
void function DelayedGamemodeAnnouncement( entity player )
{
wait 1.0
- TryGameModeAnnouncement( player )
+ if ( IsValid( player ) && IsAlive( player ) )
+ TryGameModeAnnouncement( player )
}
void function PlaySound_SimPod_DoorShut( entity playerFirstPersonProxy ) // stolen from sp_training