From 7746998019cd588207d2aa02a75b70443feeb380 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 29 Apr 2012 21:33:45 +0200 Subject: [PATCH] more fixes for makefloor --- makefloor | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/makefloor b/makefloor index 2263b87..79c2c8c 100644 --- a/makefloor +++ b/makefloor @@ -1,6 +1,5 @@ local args = { ... } - --[[ local function placeholder() return true end local turtle = {} @@ -18,14 +17,16 @@ turtle.placeDown = placeholder turtle.select = placeholder ]] -turnedLeft = nil +local turnedLeft = nil if args[1] == "rightturn" or args[1] == "leftturn" then - local turnedLeft = (args[1] == "rightturn") + turnedLeft = (args[1] == "rightturn") else print("usage: \"makefloor [leftturn|rightturn]\" whatever the first turn may be") return end +print(turnedLeft) + local curContainer = 1 turtle.select(curContainer)