diff --git a/scripts/pathfinder/PathfinderUtil.lua b/scripts/pathfinder/PathfinderUtil.lua index ea8736e7..7ee321a0 100644 --- a/scripts/pathfinder/PathfinderUtil.lua +++ b/scripts/pathfinder/PathfinderUtil.lua @@ -68,7 +68,7 @@ function PathfinderUtil.VehicleData:init(vehicle, withImplements, buffer) -- for implements which are not centered on the hitch point, such as bale wrappers in the working position towedImplementSideOffset, _, _ = localToLocal(inputAttacherJoint.node, self.towedImplement.rootNode, 0, 0, 0) dLeft = dLeft - towedImplementSideOffset - dRight = dRight - towedImplementSideOffset + dRight = dRight + towedImplementSideOffset end else self.hitchOffset = self.dRear @@ -749,4 +749,4 @@ end function PathfinderUtil.debug(vehicle, ...) CpUtil.debugVehicle(CpDebug.DBG_PATHFINDER, vehicle, ...) -end \ No newline at end of file +end