1
0
Fork 0

let Mouse Walk zero the throttle

This commit is contained in:
mfranz 2008-05-05 17:31:36 +00:00
parent 7f42abb076
commit b4b686b5ff

View file

@ -43,6 +43,7 @@ setlistener("/devices/status/mice/mouse/button[1]", func(n) {
mouse.startx = mouse.x;
mouse.starty = mouse.y;
lastelev = getprop("/position/ground-elev-ft");
setprop("/controls/engines/engine/throttle", 0);
}, 1);