diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-27 04:43:43 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-27 04:43:43 +0000 |
commit | 449cb6f54c9fbad225dd9c6b1651a738b1dcabce (patch) | |
tree | 79ffee7483b0d79d877b6900ddd42fa81d8a3211 /Northstar.Custom/mod | |
parent | 21cd8a0e32cda8d5b868ebbeb2105af4d31afb86 (diff) | |
download | NorthstarMods-449cb6f54c9fbad225dd9c6b1651a738b1dcabce.tar.gz NorthstarMods-449cb6f54c9fbad225dd9c6b1651a738b1dcabce.zip |
fix some crashes and evac playing in ttdm
Diffstat (limited to 'Northstar.Custom/mod')
-rw-r--r-- | Northstar.Custom/mod/scripts/vscripts/sh_3psequence_to_1p_hacks.gnut | 3 |
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 ) |