Fix move command bug in move controller
This commit is contained in:
parent
69aac18dc5
commit
713f3675ab
@ -235,7 +235,7 @@ techage.register_node({"techage:ta4_movecontroller"}, {
|
||||
nvm.moveBA = false
|
||||
nvm.running = true
|
||||
return fly.move_to_other_pos(pos, true)
|
||||
elseif move_xyz and topic == "move" then
|
||||
elseif not move_xyz and topic == "move" then
|
||||
nvm.moveBA = nvm.moveBA == false
|
||||
nvm.running = true
|
||||
return fly.move_to_other_pos(pos, nvm.moveBA == false)
|
||||
|
Loading…
Reference in New Issue
Block a user