mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Fix crash in AI_CARGO_AIRPLANE
This commit is contained in:
parent
4f38d8109d
commit
d9a5618773
@ -128,7 +128,9 @@ function AI_CARGO_AIRPLANE:New( Airplane, CargoSet )
|
|||||||
-- Set carrier.
|
-- Set carrier.
|
||||||
self:SetCarrier( Airplane )
|
self:SetCarrier( Airplane )
|
||||||
|
|
||||||
Airplane:SetCargoBayWeightLimit()
|
for _, AirplaneUnit in pairs( Airplane:GetUnits() ) do
|
||||||
|
AirplaneUnit:SetCargoBayWeightLimit()
|
||||||
|
end
|
||||||
|
|
||||||
self.Relocating = true
|
self.Relocating = true
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user