Move to better place
This commit is contained in:
parent
0ab888d7c8
commit
cc02760a18
2 changed files with 12 additions and 8 deletions
|
@ -1436,10 +1436,6 @@
|
|||
<command>nasal</command>
|
||||
<script>
|
||||
fcu.FCUController.ATDisc();
|
||||
setprop("/sim/sounde/apdiscbtn", 1);
|
||||
settimer(func {
|
||||
setprop("/sim/sounde/apdiscbtn", 0);
|
||||
}, 0.5);
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
|
@ -2192,10 +2188,6 @@
|
|||
<command>nasal</command>
|
||||
<script>
|
||||
fcu.FCUController.APDisc();
|
||||
setprop("/sim/sounde/apdiscbtn", 1);
|
||||
settimer(func {
|
||||
setprop("/sim/sounde/apdiscbtn", 0);
|
||||
}, 0.5);
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
|
|
|
@ -146,6 +146,12 @@ var FCUController = {
|
|||
}
|
||||
},
|
||||
APDisc: func() {
|
||||
# physical button sound - so put it outside here as you get a sound even if it doesn't work!
|
||||
setprop("/sim/sounde/apdiscbtn", 1);
|
||||
settimer(func {
|
||||
setprop("/sim/sounde/apdiscbtn", 0);
|
||||
}, 0.5);
|
||||
|
||||
if (me.FCUworking) {
|
||||
if (ap1.getBoolValue() or ap2.getBoolValue()) {
|
||||
apOff("soft", 0);
|
||||
|
@ -162,6 +168,12 @@ var FCUController = {
|
|||
}
|
||||
},
|
||||
ATDisc: func() {
|
||||
# physical button sound - so put it outside here as you get a sound even if it doesn't work!
|
||||
setprop("/sim/sounde/apdiscbtn", 1);
|
||||
settimer(func {
|
||||
setprop("/sim/sounde/apdiscbtn", 0);
|
||||
}, 0.5);
|
||||
|
||||
if (me.FCUworking) {
|
||||
if (athr.getBoolValue()) {
|
||||
athrOff("soft");
|
||||
|
|
Loading…
Add table
Reference in a new issue