Skip to content

Commit

Permalink
Fix for #482 (nasal error in mp/dual control)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbeni committed Aug 30, 2022
1 parent 663d912 commit 5498f25
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Nasal/c182s-aircraft-dual-control.nas
Original file line number Diff line number Diff line change
Expand Up @@ -414,10 +414,10 @@ var copilot_connect_pilot = func (pilot) {
func (b) { pilot.getNode("instrumentation/nav[0]/to-flag").setBoolValue(b) },
func (b) { pilot.getNode("instrumentation/nav[0]/in-range").setBoolValue(b) },
func (b) { pilot.getNode("instrumentation/nav[0]/gs-in-range").setBoolValue(b) },
func (b) { pilot.getNode("instrumentation/nav[1]/from-flag").setBoolValue(b) },
func (b) { pilot.getNode("instrumentation/nav[1]/to-flag").setBoolValue(b) },
func (b) { pilot.getNode("instrumentation/nav[1]/in-range").setBoolValue(b) },
func (b) { pilot.getNode("instrumentation/nav[1]/gs-in-range").setBoolValue(b) },
func (b) { pilot.getNode("instrumentation/nav[1]/from-flag", 1).setBoolValue(b) },
func (b) { pilot.getNode("instrumentation/nav[1]/to-flag", 1).setBoolValue(b) },
func (b) { pilot.getNode("instrumentation/nav[1]/in-range", 1).setBoolValue(b) },
func (b) { pilot.getNode("instrumentation/nav[1]/gs-in-range", 1).setBoolValue(b) },
]),


Expand Down

0 comments on commit 5498f25

Please sign in to comment.