diff options
-rw-r--r-- | cactus.lua | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -15,10 +15,9 @@ local function ensure_equipped(ptype, item) end local function ensure_modem() return ensure_equipped("modem","computercraft:wireless_modem_normal") end -local function ensure_scanner() return error("aaa") end local POS, FACING -local function turte_pos_init() +local function turtle_pos_init() assert(ensure_modem()) POS = vector.new(gps.locate()) |