diff --git a/src/main.lua b/src/main.lua index 91b01c8..05bc4a0 100644 --- a/src/main.lua +++ b/src/main.lua @@ -206,9 +206,11 @@ end local function move(direction) if direction == "left" then turtle.turnLeft() + return end if direction == "right" then turtle.turnRight() + return end while true do if turtle.getFuelLevel() == 0 then