summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-03 23:33:03 +0100
committerubq323 <ubq323@ubq323.website>2024-04-03 23:33:03 +0100
commitdcf891ebaa3d70626fc5ba17e0f7c20c0c8ee2cb (patch)
tree8582f1161a56f51fc96567094103daecce263366
parente494a435d777c5e920a53b41c60fa7c2f2d6f2a9 (diff)
launch cactus
-rw-r--r--cactus.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/cactus.lua b/cactus.lua
index 901a0da..9ef3eac 100644
--- a/cactus.lua
+++ b/cactus.lua
@@ -15,9 +15,7 @@ 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)
-
+assert(ensure_modem())
local loc = vector.new(gps.locate)
print(loc)