mirror of
https://github.com/acmgit/mesecons_stealthnode.git
synced 2024-11-22 15:23:47 +01:00
Fixed warning about undeclared global var tiles.
This commit is contained in:
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.")
|
||||||
|
Loading…
Reference in New Issue
Block a user