aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Akerman <40443620+MiloAkerman@users.noreply.github.com>2022-01-30 11:14:28 -0500
committerBarichello <artur@barichello.me>2022-02-03 17:02:08 -0300
commit72bfcc6b3ac8c81af7af6a804986e3474d4aec5e (patch)
tree6d390b02a2db2e713304ec0800713c02c180e83f
parent98e6faa4d7a2addf4f2f7e436d510cf71762a0e1 (diff)
downloadNorthstarMods-72bfcc6b3ac8c81af7af6a804986e3474d4aec5e.tar.gz
NorthstarMods-72bfcc6b3ac8c81af7af6a804986e3474d4aec5e.zip
Changed to IsValid
-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 )