Page 1 of 1

[1.6.7]Heavy Weapons + Long Arm error

Posted: Tue Mar 03, 2020 9:27 pm
by InC
Using Flame Jet or Flamethrower Expertise with the Long Arm throws an error (and breaks targeting).

Code: Select all

local dist = core.fov.distance(self.x, self.y, targets[1].x, targets[1].y) - 1
should be

Code: Select all

local dist = core.fov.distance(self.x, self.y, target.x, target.y) - 1