We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2afad8 commit b0f17c6Copy full SHA for b0f17c6
Data/Base.rte/AI/NativeHumanAI.lua
@@ -557,7 +557,7 @@ function NativeHumanAI:Update(Owner)
557
if self.PickupHD then
558
if not MovableMan:IsDevice(self.PickupHD) or self.PickupHD.ID ~= self.PickupHD.RootID then
559
self.PickupHD = nil; -- the HeldDevice has been destroyed or picked up
560
- elseif SceneMan:ShortestDistance(Owner.Pos, self.PickupHD.Pos, false):MagnitudeIsLessThan(Owner.Height * GetMPP()) then
+ elseif SceneMan:ShortestDistance(Owner.Pos, self.PickupHD.Pos, false):MagnitudeIsLessThan(Owner.Height) then
561
self.Ctrl:SetState(Controller.WEAPON_PICKUP, true);
562
end
563
0 commit comments