Sim: ACCONFIG bugfix

This commit is contained in:
Joshua Davidson 2019-01-04 23:37:07 -05:00
parent 31931e93e0
commit 11c5f81f1f
2 changed files with 4 additions and 1 deletions

View file

@ -232,6 +232,7 @@ var writeSettings = func {
var colddark = func { var colddark = func {
if (getprop("/systems/acconfig/mismatch-code") == "0x000") { if (getprop("/systems/acconfig/mismatch-code") == "0x000") {
spinning.start(); spinning.start();
ps_loaded_dlg.close();
ps_load_dlg.open(); ps_load_dlg.open();
setprop("/systems/acconfig/autoconfig-running", 1); setprop("/systems/acconfig/autoconfig-running", 1);
setprop("/controls/gear/brake-left", 1); setprop("/controls/gear/brake-left", 1);
@ -280,6 +281,7 @@ var colddark_b = func {
var beforestart = func { var beforestart = func {
if (getprop("/systems/acconfig/mismatch-code") == "0x000") { if (getprop("/systems/acconfig/mismatch-code") == "0x000") {
spinning.start(); spinning.start();
ps_loaded_dlg.close();
ps_load_dlg.open(); ps_load_dlg.open();
setprop("/systems/acconfig/autoconfig-running", 1); setprop("/systems/acconfig/autoconfig-running", 1);
setprop("/controls/gear/brake-left", 1); setprop("/controls/gear/brake-left", 1);
@ -357,6 +359,7 @@ var beforestart_b = func {
var taxi = func { var taxi = func {
if (getprop("/systems/acconfig/mismatch-code") == "0x000") { if (getprop("/systems/acconfig/mismatch-code") == "0x000") {
spinning.start(); spinning.start();
ps_loaded_dlg.close();
ps_load_dlg.open(); ps_load_dlg.open();
setprop("/systems/acconfig/autoconfig-running", 1); setprop("/systems/acconfig/autoconfig-running", 1);
setprop("/controls/gear/brake-left", 1); setprop("/controls/gear/brake-left", 1);

View file

@ -1 +1 @@
4726 4727