From e32bd27b12d198301e0221a1f4176c854487c6a9 Mon Sep 17 00:00:00 2001 From: RoyalBlue1 Date: Tue, 18 Oct 2022 02:30:59 +0200 Subject: Fix respawn as titan --- Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Northstar.CustomServers') diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut index 6a0fdbef..b9bb34bd 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut @@ -174,7 +174,7 @@ void function FD_PlayerRespawnCallback( entity player ) if( GetGameState() != eGameState.Playing) return - if( player.IsTitan() ) + if( player.GetPersistentVar( "spawnAsTitan" ) ) return player.SetInvulnerable() -- cgit v1.2.3