aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/mod/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.Custom/mod/scripts')
-rw-r--r--Northstar.Custom/mod/scripts/vscripts/sh_3psequence_to_1p_hacks.gnut3
1 files changed, 2 insertions, 1 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/sh_3psequence_to_1p_hacks.gnut b/Northstar.Custom/mod/scripts/vscripts/sh_3psequence_to_1p_hacks.gnut
index 3d7e65aa..abfd269a 100644
--- a/Northstar.Custom/mod/scripts/vscripts/sh_3psequence_to_1p_hacks.gnut
+++ b/Northstar.Custom/mod/scripts/vscripts/sh_3psequence_to_1p_hacks.gnut
@@ -148,7 +148,8 @@ void function CleanupForced1PSequenceAfterAnimDone( FirstPersonSequenceStruct se
OnThreadEnd( function() : ( cleanupData )
{
- CleanupForced1PSequence( cleanupData )
+ if ( IsValid( cleanupData.player ) )
+ CleanupForced1PSequence( cleanupData )
})
FirstPersonSequence( sequence, player, other )