From b69f8af81575c8cfc122116182c304ea291fa677 Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Mon, 15 Aug 2016 23:28:24 +0100 Subject: [PATCH] Minor fix to reset electrical system on autostart https://github.com/Juanvvc/c172p-detailed/commit/b3619583f999071cb3a06cccda7019f5e9507291 --- Aircraft/c172p/Nasal/c172p.nas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Aircraft/c172p/Nasal/c172p.nas b/Aircraft/c172p/Nasal/c172p.nas index bae7b3364..95a435323 100644 --- a/Aircraft/c172p/Nasal/c172p.nas +++ b/Aircraft/c172p/Nasal/c172p.nas @@ -9,6 +9,8 @@ var autostart = func (msg=1) { return; } + electrical.reset_battery_and_circuit_breakers(); + setprop("/controls/switches/magnetos", 3); setprop("/controls/engines/current-engine/throttle", 0.2); setprop("/controls/engines/current-engine/mixture", 0.95);