Fix some Lua warnings

This commit is contained in:
Wuzzy 2018-01-23 05:19:05 +01:00
parent f3a3681e7b
commit 0405b2aa2c
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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",