From e494a435d777c5e920a53b41c60fa7c2f2d6f2a9 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Wed, 3 Apr 2024 23:32:39 +0100 Subject: launch cactus --- cactus.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cactus.lua b/cactus.lua index 51edebc..901a0da 100644 --- a/cactus.lua +++ b/cactus.lua @@ -12,8 +12,8 @@ local function ensure_equipped(ptype, item) return false, "couldn't find "..item end -local function ensure_modem() ensure_equipped("modem","computercraft:wireless_modem_normal") end -local function ensure_scanner() error("aaa") end +local function ensure_modem() return ensure_equipped("modem","computercraft:wireless_modem_normal") end +local function ensure_scanner() return error("aaa") end local x,d = ensure_modem() print(x,d) -- cgit v1.2.3