async fn pathing works

This commit is contained in:
Andy Killorin 2023-12-19 17:16:50 -06:00
commit 7bfed6d8af
Signed by: ank
GPG key ID: B6241CA3B552BCA4

View file

@ -70,6 +70,8 @@ if not idfile then
local fuel = turtle.getFuelLevel()
if fs.exists("/disk/pos") then
io.input("/disk/pos")
else
io.input(io.stdin)
end
local startpos = io.input()
print("Direction (North, South, East, West):")