Fix bugs in helicopter code.
This commit is contained in:
parent
cadd3404b9
commit
c0d61d132b
|
@ -1 +1 @@
|
||||||
runpath("0:/boot/rocket", true).
|
runpath("0:/boot/helicopter", true).
|
||||||
|
|
|
@ -23,7 +23,7 @@ local y is interface:AddVLayout().
|
||||||
local x is y:AddHLayout().
|
local x is y:AddHLayout().
|
||||||
|
|
||||||
set x:AddButton("HOVER"):onClick to {
|
set x:AddButton("HOVER"):onClick to {
|
||||||
PointStabilizeH().
|
Hover().
|
||||||
}.
|
}.
|
||||||
|
|
||||||
set x:AddButton("LAND"):onClick to {
|
set x:AddButton("LAND"):onClick to {
|
||||||
|
@ -35,7 +35,7 @@ set x:AddButton("LAND"):onClick to {
|
||||||
toggle AG10.
|
toggle AG10.
|
||||||
BRAKES on.
|
BRAKES on.
|
||||||
}
|
}
|
||||||
PointStabilizeH(-5).
|
Hover(-5).
|
||||||
}.
|
}.
|
||||||
|
|
||||||
interface:show().
|
interface:show().
|
||||||
|
|
Loading…
Reference in New Issue
Block a user