From 72bfcc6b3ac8c81af7af6a804986e3474d4aec5e Mon Sep 17 00:00:00 2001 From: Milo Akerman <40443620+MiloAkerman@users.noreply.github.com> Date: Sun, 30 Jan 2022 11:14:28 -0500 Subject: Changed to IsValid --- Northstar.Custom/mod/scripts/vscripts/titan/sh_titan.gnut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- cgit v1.2.3