forked from Mineclonia/Mineclonia
Fix some Lua warnings
This commit is contained in:
parent
f3a3681e7b
commit
0405b2aa2c
|
@ -90,6 +90,7 @@ local update_on_place_dig = function (pos, node)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Update nodes around it
|
-- Update nodes around it
|
||||||
|
local rules
|
||||||
if minetest.registered_nodes[node.name]
|
if minetest.registered_nodes[node.name]
|
||||||
and minetest.registered_nodes[node.name].mesecon_wire then
|
and minetest.registered_nodes[node.name].mesecon_wire then
|
||||||
rules = wire_rules
|
rules = wire_rules
|
||||||
|
|
|
@ -959,7 +959,7 @@ for i=1,8 do
|
||||||
description = desc,
|
description = desc,
|
||||||
_doc_items_longdesc = longdesc,
|
_doc_items_longdesc = longdesc,
|
||||||
_doc_items_usagehelp = usagehelp,
|
_doc_items_usagehelp = usagehelp,
|
||||||
_doc_items_create_entry = hhelp,
|
_doc_items_create_entry = help,
|
||||||
_doc_items_hidden = false,
|
_doc_items_hidden = false,
|
||||||
tiles = {"default_snow.png"},
|
tiles = {"default_snow.png"},
|
||||||
wield_image = "default_snow.png",
|
wield_image = "default_snow.png",
|
||||||
|
|
Loading…
Reference in New Issue