summaryrefslogtreecommitdiff
path: root/controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'controller.lua')
-rw-r--r--controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller.lua b/controller.lua
index 2e47c98..365cf73 100644
--- a/controller.lua
+++ b/controller.lua
@@ -427,7 +427,7 @@ function celevator.controller.finish(pos,mem,changedinterrupts)
if drivetype then
for _,command in ipairs(mem.drive.commands) do
if command.command == "moveto" then
- celevator.drives[drivetype].moveto(drivepos,command.pos)
+ celevator.drives[drivetype].moveto(drivepos,command.pos,command.inspection)
elseif command.command == "setmaxvel" then
celevator.drives[drivetype].setmaxvel(drivepos,command.maxvel)
elseif command.command == "resetpos" then