Make most variables local

This commit is contained in:
Wuzzy
2016-08-11 17:37:36 +02:00
parent ebf8395791
commit 24e6c49b83
2 changed files with 10 additions and 10 deletions

View File

@ -10,7 +10,7 @@ for i=1,3 do
})
end
trap_on_timer = function (pos, elapsed)
local trap_on_timer = function (pos, elapsed)
local objs = minetest.env:get_objects_inside_radius(pos, 2)
for i, obj in pairs(objs) do
if obj:is_player() then