From 4a0f1a1d5f80d59a0c60b41391979bfb3d73dff3 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 4 Apr 2024 00:33:43 +0100 Subject: launch cactus --- cactus.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3