This commit is contained in:
Kai Vogelgesang 2020-07-08 13:17:03 +02:00
parent 7639e0c178
commit 88a94caf74
2 changed files with 2 additions and 2 deletions

View File

@ -27,4 +27,4 @@ local function greedy_move(x, z, o)
T.rotateTowards(o)
end
greedy_move(0, 0, 0, "+z")
greedy_move(0, 0, "+z")

View File

@ -196,7 +196,7 @@ local state_machine = {
return "MOVE_TO_TREE"
elseif T.state.current_row < MAX_ROW then
-- go to the first tree in the next row
T.state.current_tree = 0
T.state.current_tree = 1
T.state.current_row = T.state.current_row + 1
return "MOVE_TO_TREE"
else