improve returnToBase

This commit is contained in:
Navid Sassan 2023-11-23 01:11:28 +01:00
parent 573c5f39c0
commit e79a49cdd1

View File

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