Fixed warning about undeclared global var tiles.

This commit is contained in:
A.C.M 2019-02-18 01:25:29 +01:00
parent 4e9c346732
commit db238bef79

@ -14,7 +14,7 @@
function stealthnode.register_stealthnode(modname, node) function stealthnode.register_stealthnode(modname, node)
tile = "" local tile = ""
if minetest.registered_nodes[modname .. ":" .. node] == nil then if minetest.registered_nodes[modname .. ":" .. node] == nil then
print("[MOD] " .. minetest.get_current_modname() .. ": " .. modname .. ":" .. node .. " not found to register a stealthnode.") print("[MOD] " .. minetest.get_current_modname() .. ": " .. modname .. ":" .. node .. " not found to register a stealthnode.")