Fix (this ain't Python...)

This commit is contained in:
Kai Vogelgesang 2020-07-08 05:47:07 +02:00
parent 1f765d59a7
commit 907dfb569c

View File

@ -61,7 +61,7 @@ local function greedy_move(x, z, o)
if z ~= T.state.z then
if z > T.state.z then
T.rotateTowards("+z")
else:
else
T.rotateTowards("-z")
end
for _ = 1, math.abs(z - T.state.z) do