4
Fork 0

Added a sanity check to CWCatapultStrikeSpawnerScript

development
Eddoursul 2 months ago
parent 8bb7765856
commit 50ec2d17aa
  1. BIN
      scripts/cwcatapultstrikespawnerscript.pex
  2. 5
      source/scripts/cwcatapultstrikespawnerscript.psc

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

Loading…
Cancel
Save