Skip to content

Commit

Permalink
Update UEL0401_script.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
lL1l1 committed Jan 18, 2025
1 parent 8955232 commit fd1ad3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions units/UEL0401/UEL0401_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ UEL0401 = ClassUnit(TMobileFactoryUnit, ExternalFactoryComponent) {
local explosionBones = {}
local explosionBoneCount = table.getn(self.ExplosionBones)

-- Since this is a thread, it is delayed by 1 tick so the instigator may be destroyed
if not IsDestroyed(instigator) then
-- if there is an instigator, favor exploding bits that are near the instigator
local ix, iy, iz = instigator:GetPositionXYZ()
Expand Down

0 comments on commit fd1ad3f

Please sign in to comment.