add debug output
This commit is contained in:
parent
cb370203cf
commit
190c44fca8
@ -93,6 +93,7 @@ while true do
|
|||||||
if turtle.forward() then
|
if turtle.forward() then
|
||||||
ForwardCounter = ForwardCounter + 1
|
ForwardCounter = ForwardCounter + 1
|
||||||
else
|
else
|
||||||
|
print('hit a wall - returning to base')
|
||||||
returnToBase()
|
returnToBase()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user