mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Cargo Dispatcher APC - Multiple Cargo Groups and Weight in APC
This commit is contained in:
@@ -879,7 +879,6 @@ do -- Cargo
|
||||
function POSITIONABLE:GetCargoBayFreeWeight()
|
||||
local CargoWeight = 0
|
||||
for CargoName, Cargo in pairs( self.__.Cargo ) do
|
||||
self:F( { Cargo = Cargo } )
|
||||
CargoWeight = CargoWeight + Cargo:GetWeight()
|
||||
end
|
||||
return self.__.CargoBayWeightLimit - CargoWeight
|
||||
|
||||
Reference in New Issue
Block a user