summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cactus.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/cactus.lua b/cactus.lua
index 982d987..83b3f58 100644
--- a/cactus.lua
+++ b/cactus.lua
@@ -63,7 +63,7 @@ local function turn_to_face(newfacing)
elseif newfacing == -FACING then turtle.turnRight() turtle.turnRight()
elseif newfacing == rotatev(FACING,1) then turtle.turnRight()
elseif newfacing == rotatev(FACING,-1) then turtle.turnLeft()
- else error("invalid facing "..tostring(newfacing))
+ else error("invalid facing "..tostring(newfacing),2)
end
end