1
0
Fork 0

js overlay to make speedbrake work on broken seahawk

This commit is contained in:
Melchior FRANZ 2011-10-01 10:12:32 +02:00
parent fa1593f9f0
commit 0543d8fead

View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<!-- fix broken seahawk speedbrake -->
<PropertyList>
<nasal>
<script>
if (init)
setlistener("/controls/flight/speedbrake", func(n) {
setprop("/controls/flight/speedbrake-lever", n.getValue());
seahawk.adjustFlaps();
});
</script>
</nasal>
</PropertyList>