diff --git a/A320-main.xml b/A320-main.xml index 76eac852..9c4e64f8 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -1436,10 +1436,6 @@ nasal @@ -2192,10 +2188,6 @@ nasal diff --git a/Nasal/FMGC/FCU.nas b/Nasal/FMGC/FCU.nas index 64bf2f6d..641e7cf5 100644 --- a/Nasal/FMGC/FCU.nas +++ b/Nasal/FMGC/FCU.nas @@ -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");