forgot to return when just turning at move

This commit is contained in:
Justus Wolff
2026-02-15 12:34:15 +01:00
parent c89023a2be
commit 4b2a5900e3

View File

@@ -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