summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-04 00:33:43 +0100
committerubq323 <ubq323@ubq323.website>2024-04-04 00:33:43 +0100
commit4a0f1a1d5f80d59a0c60b41391979bfb3d73dff3 (patch)
tree084d39f01ca07659d0d3dda2f23d17239276d708
parentc8e5f1e67788976ff65611fbf77b3be13bffd79a (diff)
launch cactus
-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