mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Warehouse v0.4.9
Added option to force cargo bay limit and cargo asset weight.
This commit is contained in:
@@ -142,9 +142,11 @@ function AI_CARGO:New( Carrier, CargoSet )
|
||||
-- @param #string Event
|
||||
-- @param #string To
|
||||
|
||||
for _, CarrierUnit in pairs( Carrier:GetUnits() ) do
|
||||
CarrierUnit:SetCargoBayWeightLimit()
|
||||
end
|
||||
-- FF "Workaround" for not being able to set the cargo bay limit manually for the carrier group.
|
||||
-- FF Moreover, the carrier group is an input parameter and should not be overwritten here.
|
||||
--for _, CarrierUnit in pairs( Carrier:GetUnits() ) do
|
||||
--CarrierUnit:SetCargoBayWeightLimit()
|
||||
--end
|
||||
|
||||
self.Transporting = false
|
||||
self.Relocating = false
|
||||
|
||||
Reference in New Issue
Block a user