Fixed glitch in cargo transfer as a result of the rework

This commit is contained in:
FlightControl 2017-04-18 19:08:44 +02:00
parent c8b4a9839d
commit f4a15aa316

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