Moose.lua updated

This commit is contained in:
funkyfranky
2017-10-29 17:19:50 +01:00
parent 309ba6979a
commit f7d3bc3b27

View File

@@ -1,5 +1,5 @@
env.info( '*** MOOSE STATIC INCLUDE START *** ' ) env.info( '*** MOOSE STATIC INCLUDE START *** ' )
env.info( 'Moose Generation Timestamp: 20171029_1522' ) env.info( 'Moose Generation Timestamp: 20171029_1717' )
--- Various routines --- Various routines
-- @module routines -- @module routines
@@ -38070,9 +38070,9 @@ function RAT:_CheckConsistency()
-- What can go wrong? -- What can go wrong?
-- Only zones but not takeoff air == > Enable takeoff air. -- Only zones but not takeoff air == > Enable takeoff air.
if self.Ndeparture_Airports==0 and self.takeoff~=RAT.wp.air then if self.Ndeparture_Zones>0 and self.takeoff~=RAT.wp.air then
self.takeoff=RAT.wp.air self.takeoff=RAT.wp.air
env.error(RAT.id.."Only zones (no airports) defined as departure and takeoff is NOT set to air. Enabling air start!") env.error(RAT.id.."At least one zone defined as departure and takeoff is NOT set to air. Enabling air start!")
end end
-- No airport and no zone specified. -- No airport and no zone specified.
if self.Ndeparture_Airports==0 and self.Ndeparture_Zone==0 then if self.Ndeparture_Airports==0 and self.Ndeparture_Zone==0 then