let Mouse Walk zero the throttle
This commit is contained in:
parent
7f42abb076
commit
b4b686b5ff
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ setlistener("/devices/status/mice/mouse/button[1]", func(n) {
|
||||||
mouse.startx = mouse.x;
|
mouse.startx = mouse.x;
|
||||||
mouse.starty = mouse.y;
|
mouse.starty = mouse.y;
|
||||||
lastelev = getprop("/position/ground-elev-ft");
|
lastelev = getprop("/position/ground-elev-ft");
|
||||||
|
setprop("/controls/engines/engine/throttle", 0);
|
||||||
}, 1);
|
}, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue