mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Update
This commit is contained in:
parent
d4d05f4693
commit
97feeaeaf3
@ -428,7 +428,7 @@ function AI_CARGO_AIRPLANE:onafterBoard( Airplane, From, Event, To, Cargo, Airpl
|
|||||||
local InRadius = Cargo:IsInLoadRadius( Airplane:GetCoordinate() )
|
local InRadius = Cargo:IsInLoadRadius( Airplane:GetCoordinate() )
|
||||||
if InRadius then
|
if InRadius then
|
||||||
|
|
||||||
local CargoBayFreeWeight = Airplane:GetCargoBayFreeWeight()
|
local CargoBayFreeWeight = AirplaneUnit:GetCargoBayFreeWeight()
|
||||||
--local CargoBayFreeVolume = Airplane:GetCargoBayFreeVolume()
|
--local CargoBayFreeVolume = Airplane:GetCargoBayFreeVolume()
|
||||||
|
|
||||||
local CargoWeight = Cargo:GetWeight()
|
local CargoWeight = Cargo:GetWeight()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user