summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cactus.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/cactus.lua b/cactus.lua
index 698badc..51edebc 100644
--- a/cactus.lua
+++ b/cactus.lua
@@ -15,7 +15,8 @@ end
local function ensure_modem() ensure_equipped("modem","computercraft:wireless_modem_normal") end
local function ensure_scanner() error("aaa") end
-ensure_modem()
+local x,d = ensure_modem()
+print(x,d)
local loc = vector.new(gps.locate)
print(loc)