diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-15 05:53:11 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-15 05:53:11 -0500 |
commit | c0ce62dacfe982fac58a79882919c1fef474f37d (patch) | |
tree | a0d29218ee84884dd910fb14d9e3842c8b2facf2 /item_transport.lua | |
parent | d099b9f8f0c67253004320616abaee42a8f005ca (diff) |
local-ize a few more variables and functions
Diffstat (limited to 'item_transport.lua')
-rw-r--r-- | item_transport.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/item_transport.lua b/item_transport.lua index 93e9580..d20dfc3 100644 --- a/item_transport.lua +++ b/item_transport.lua @@ -220,7 +220,7 @@ local function addVect(pos,vect) return {x=pos.x+vect.x,y=pos.y+vect.y,z=pos.z+vect.z} end -adjlist={{x=0,y=0,z=1},{x=0,y=0,z=-1},{x=0,y=1,z=0},{x=0,y=-1,z=0},{x=1,y=0,z=0},{x=-1,y=0,z=0}} +local adjlist={{x=0,y=0,z=1},{x=0,y=0,z=-1},{x=0,y=1,z=0},{x=0,y=-1,z=0},{x=1,y=0,z=0},{x=-1,y=0,z=0}} local function notvel(tbl,vel) local tbl2={} |