aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_titan_transfer.nut2
1 files changed, 2 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_titan_transfer.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_titan_transfer.nut
index ca69b6b6a..a855100eb 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_titan_transfer.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_titan_transfer.nut
@@ -521,6 +521,8 @@ function PilotBecomesTitan( entity player, entity titan, bool fullCopy = true )
//PROTO_DisplayTitanLoadouts( player, titan, loadout )
entity soul = titan.GetTitanSoul()
+ if( !IsValid(soul) )
+ return
soul.soul.lastOwner = player
player.s.storedPlayerSettings <- player.GetPlayerSettings()