1
0
Fork 0

Walker; fix duplicate parachute and spoiler/speedbrake keyboard by making it conditional on the view

This commit is contained in:
Richard Harrison 2017-11-18 12:51:16 +01:00
parent 28fbda2e2a
commit dcc4f1ede5

View file

@ -310,11 +310,29 @@
<name>j</name>
<desc>open parachute</desc>
<repeatable>false</repeatable>
<condition>
<or>
<equals>
<property>sim/current-view/name</property>
<value>Walk View</value>
</equals>
<equals>
<property>sim/current-view/name</property>
<value>Walker Orbit View</value>
</equals>
</or>
</condition>
<binding>
<command>nasal</command>
<script>walk.open_chute()</script>
</binding>
<binding n="1">
<command>nasal</command>
<script>controls.stepSpoilers(-1)</script>
</binding>
</key>
<key n="119">
<name>w</name>
<desc>Walk forward</desc>