1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-08 19:30:32 +01:00

local-ize a couple of variables

This commit is contained in:
Vanessa Ezekowitz 2013-12-15 13:41:07 -05:00
parent 0e53046bf2
commit e7d6a2e993
2 changed files with 2 additions and 2 deletions

View File

@ -269,7 +269,7 @@ local extra_aliases = {
}
for i in ipairs(extra_aliases) do
flower = extra_aliases[i]
local flower = extra_aliases[i]
minetest.register_alias("flowers:flower_"..flower, "flowers:"..flower)
end

View File

@ -69,7 +69,7 @@ local function dump_pos(pos)
end
function plantslib:is_node_loaded(node_pos)
n = minetest.get_node_or_nil(node_pos)
local n = minetest.get_node_or_nil(node_pos)
if (not n) or (n.name == "ignore") then
return false
end