Merge pull request #441 from FlightControl-Master/master-353-task-cargo-transport

Master 353 task cargo transport
This commit is contained in:
Sven Van de Velde 2017-04-19 14:34:14 +02:00 committed by GitHub
commit 86715794d7

View File

@ -701,7 +701,7 @@ function CARGO_UNIT:onafterBoard( From, Event, To, CargoCarrier, NearRadius, ...
if self:IsNear( CargoCarrier:GetPointVec2(), NearRadius ) then
self:Load( CargoCarrier, NearRadius, ... )
else
self:__Boarding( -1, CargoCarrier, NearRadius )
self:__Boarding( 1, CargoCarrier, NearRadius )
end
end