diff options
author | ubq323 <ubq323@ubq323.website> | 2024-04-03 23:32:39 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-04-03 23:32:39 +0100 |
commit | e494a435d777c5e920a53b41c60fa7c2f2d6f2a9 (patch) | |
tree | 4d42d9973d528de47274ef5fccf3707dfe4cc9c2 | |
parent | b4f3a393924f8dad12b0dca5ec75952ba2e95c56 (diff) |
launch cactus
-rw-r--r-- | cactus.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |