Skip to content

Commit 41c3d28

Browse files
committed
Missed a second spot in the Nucleo Swarm for the targeting fix
1 parent ab0d9f7 commit 41c3d28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Data/Techion.rte/Devices/Weapons/NucleoSwarm/NucleoSwarmShot.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function Update(self)
6666
self.seekerTimer:Reset();
6767
self.seekerDelay = 1000 - math.random(1000);
6868
for actor in MovableMan.Actors do
69-
if actor.Team ~= self.Team then
69+
if actor.Team ~= self.Team and actor.GetsHitByMOs then
7070
self.potentialtargetdist = SceneMan:ShortestDistance(self.Pos, actor.Pos, SceneMan.SceneWrapsX);
7171
if (self.lastdist == nil or (self.lastdist ~= nil and self.potentialtargetdist:MagnitudeIsLessThan(self.lastdist))) and not self.potentialtargetdist:MagnitudeIsGreaterThan(500) and SceneMan:CastStrengthRay(self.Pos, self.potentialtargetdist:SetMagnitude(self.potentialtargetdist.Magnitude - actor.Radius), 0, Vector(), 5, rte.airID, SceneMan.SceneWrapsX) == false then
7272
self.lastdist = self.potentialtargetdist.Magnitude;

0 commit comments

Comments
 (0)