Sim: Change DiscSoft to Disc

This commit is contained in:
Joshua Davidson 2019-02-25 16:23:53 -05:00
parent 8398cc2fce
commit 7f0c150cb0
4 changed files with 7 additions and 7 deletions

View file

@ -1081,7 +1081,7 @@
<desc>Autothrottle Disconnect</desc>
<binding>
<command>nasal</command>
<script>libraries.APPanel.ATDiscSoft();</script>
<script>libraries.APPanel.ATDisc();</script>
</binding>
</key>
<key n="6">
@ -1320,7 +1320,7 @@
<desc>Autopilot Disconnect</desc>
<binding>
<command>nasal</command>
<script>libraries.APPanel.APDiscSoft();</script>
<script>libraries.APPanel.APDisc();</script>
</binding>
</key>
<key n="70">

View file

@ -234,7 +234,7 @@ var APPanel = {
}
}
},
APDiscSoft: func() {
APDisc: func() {
if (ap1.getBoolValue() or ap2.getBoolValue()) {
libraries.apOff("soft", 0);
} else {
@ -246,7 +246,7 @@ var APPanel = {
setprop("/ECAM/warnings/master-warning-light", 0);
}
},
ATDiscSoft: func() {
ATDisc: func() {
if (athr.getBoolValue()) {
libraries.athrOff("soft");
setprop("/ECAM/warnings/master-caution-light", 1);

View file

@ -83,7 +83,7 @@
<pref-width>119</pref-width>
<binding>
<command>nasal</command>
<script>libraries.APPanel.ATDiscSoft();</script>
<script>libraries.APPanel.ATDisc();</script>
</binding>
</button>
<button>
@ -91,7 +91,7 @@
<pref-width>119</pref-width>
<binding>
<command>nasal</command>
<script>libraries.APPanel.APDiscSoft();</script>
<script>libraries.APPanel.APDisc();</script>
</binding>
</button>
</group>

View file

@ -1 +1 @@
4771
4772