cleanup
This commit is contained in:
parent
760729ee4b
commit
7694798ad0
6 changed files with 45 additions and 73 deletions
|
@ -88,7 +88,7 @@ function stepTo(target)
|
|||
end
|
||||
end
|
||||
|
||||
function go_to(target, face)
|
||||
function goTo(target, face)
|
||||
while target ~= _G.pos do
|
||||
stepTo(target)
|
||||
end
|
||||
|
@ -103,3 +103,7 @@ function go_to(target, face)
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
function goHome()
|
||||
goTo(vector.new(0,0,0), "south")
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue