aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers
diff options
context:
space:
mode:
authorRoyalBlue1 <realEmail@veryRealURL.com>2022-10-18 02:30:59 +0200
committerRoyalBlue1 <realEmail@veryRealURL.com>2022-10-18 02:30:59 +0200
commite32bd27b12d198301e0221a1f4176c854487c6a9 (patch)
tree349d1cb2ad86a4ab634ff85a3c8c077e23ba4a36 /Northstar.CustomServers
parent0e379c6509ee269b8ab1952248ec6886b542482f (diff)
downloadNorthstarMods-e32bd27b12d198301e0221a1f4176c854487c6a9.tar.gz
NorthstarMods-e32bd27b12d198301e0221a1f4176c854487c6a9.zip
Fix respawn as titan
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut2
1 files changed, 1 insertions, 1 deletions
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()