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,8 +128,10 @@ function AI_CARGO_AIRPLANE:New( Airplane, CargoSet )
|
||||
-- Set carrier.
|
||||
self:SetCarrier( Airplane )
|
||||
|
||||
Airplane:SetCargoBayWeightLimit()
|
||||
|
||||
for _, AirplaneUnit in pairs( Airplane:GetUnits() ) do
|
||||
AirplaneUnit:SetCargoBayWeightLimit()
|
||||
end
|
||||
|
||||
self.Relocating = true
|
||||
|
||||
return self
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user