Added a sanity check to CWCatapultStrikeSpawnerScript

This commit is contained in:
Eddoursul 2024-02-21 15:51:07 +01:00
parent 8bb7765856
commit 50ec2d17aa
2 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,10 @@ Function CallCatapultStrike()
ObjectReference placeAtRef = GetNthLinkedRef(randomLinkNum)
placeAtRef.placeAtMe(CWCatapultStrike)
AMBrCivilWarCatapultsDistantM.Play(placeAtRef)
if placeAtRef.Is3DLoaded()
AMBrCivilWarCatapultsDistantM.Play(placeAtRef)
endif
EndFunction