aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Northstar.Custom/mod/scripts/vscripts/titan/sh_titan.gnut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/titan/sh_titan.gnut b/Northstar.Custom/mod/scripts/vscripts/titan/sh_titan.gnut
index 0793acd2..92b4924b 100644
--- a/Northstar.Custom/mod/scripts/vscripts/titan/sh_titan.gnut
+++ b/Northstar.Custom/mod/scripts/vscripts/titan/sh_titan.gnut
@@ -280,7 +280,7 @@ void function UpdateTitanArmBadge( entity soul )
return
entity armBadge = soul.soul.armBadge
- if(armBadge == null)
+ if( !IsValid(armBadge) )
return
//armBadge.SetModel( model )