- fixed cargo APC unloading in case of enemy presence and loading in case of enemy destroy or leave.

- fixed boarding near range to 5 meters for cargo units.
This commit is contained in:
FlightControl
2018-08-28 07:16:42 +02:00
parent dffd66940d
commit 1aabb1bfbd
3 changed files with 4 additions and 5 deletions

View File

@@ -279,7 +279,7 @@ function POSITIONABLE:GetBoundingRadius()
local Z = Box.max.z - Box.min.z
local CX = X / 2
local CZ = Z / 2
return math.max( CX, CZ ) + 3
return math.max( CX, CZ )
end
BASE:E( { "Cannot GetBoundingRadius", Positionable = self, Alive = self:IsAlive() } )