diff --git a/Nasal/controls.nas b/Nasal/controls.nas index f9b7d02e0..82f5d49ca 100644 --- a/Nasal/controls.nas +++ b/Nasal/controls.nas @@ -1,4 +1,6 @@ var startEngine = func(v = 1) { + if (!v) + return props.setAll("/controls/engines/engine", "starter", 0); foreach(var e; engines) if(e.selected.getValue()) e.controls.getNode("starter").setBoolValue(v); diff --git a/keyboard.xml b/keyboard.xml index 73cfdc348..e4010ac4d 100644 --- a/keyboard.xml +++ b/keyboard.xml @@ -960,12 +960,12 @@ top down before the key bindings are parsed. Fire Starter on Selected Engine(s) nasal - + nasal - +