improve returnToBase
This commit is contained in:
parent
573c5f39c0
commit
e79a49cdd1
@ -30,8 +30,9 @@ end
|
|||||||
|
|
||||||
local function returnToBase()
|
local function returnToBase()
|
||||||
print('returing to base')
|
print('returing to base')
|
||||||
for _ = 1, ForwardCounter do
|
while ForwardCounter > 0 do
|
||||||
turtle.back()
|
turtle.back()
|
||||||
|
ForwardCounter = ForwardCounter - 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user