From 97be67bae91988df5fa9b054ff71302494594035 Mon Sep 17 00:00:00 2001 From: funkyfranky Date: Sun, 29 Oct 2017 19:27:39 +0100 Subject: [PATCH] RAT v2 --- Moose Development/Moose/Functional/RAT.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Moose Development/Moose/Functional/RAT.lua b/Moose Development/Moose/Functional/RAT.lua index f1a02ad03..737b60eea 100644 --- a/Moose Development/Moose/Functional/RAT.lua +++ b/Moose Development/Moose/Functional/RAT.lua @@ -468,7 +468,7 @@ RAT.id="RAT | " --- RAT version. -- @field #string version -RAT.version="1.0.0" +RAT.version="2.0.0" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- @@ -754,9 +754,9 @@ function RAT:_CheckConsistency() -- What can go wrong? -- 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 - 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 -- No airport and no zone specified. if self.Ndeparture_Airports==0 and self.Ndeparture_Zone==0 then