Merge branch 'develop' into FF/Develop

This commit is contained in:
funkyfranky
2018-09-17 12:53:40 +02:00
3 changed files with 24 additions and 15 deletions

View File

@@ -142,11 +142,10 @@ function AI_CARGO:New( Carrier, CargoSet )
-- @param #string Event
-- @param #string To
-- 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
for _, CarrierUnit in pairs( Carrier:GetUnits() ) do
local CarrierUnit = CarrierUnit -- Wrapper.Unit#UNIT
CarrierUnit:SetCargoBayWeightLimit()
end
self.Transporting = false
self.Relocating = false