Fixed issues with pickup zones.

This commit is contained in:
FlightControl
2018-09-06 19:23:13 +02:00
parent 5c29f48a88
commit 5bd6f4901f
2 changed files with 5 additions and 5 deletions

View File

@@ -900,7 +900,7 @@ function AI_CARGO_DISPATCHER:onafterMonitor()
if not self.PickupZoneSet or PickupZone then
for CarrierPickup, Coordinate in pairs( self.PickupCargo ) do
if CarrierPickup:IsAlive() == true then
if CargoCoordinate:Get2DDistance( Coordinate ) <= 25 then
if CargoCoordinate:Get2DDistance( Coordinate ) <= 100 then
CoordinateFree = false
break
end