From db238bef794886371e7360087649b2850975a56e Mon Sep 17 00:00:00 2001 From: "A.C.M" Date: Mon, 18 Feb 2019 01:25:29 +0100 Subject: [PATCH] Fixed warning about undeclared global var tiles. --- register.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/register.lua b/register.lua index e9df9cb..3b1a681 100644 --- a/register.lua +++ b/register.lua @@ -14,7 +14,7 @@ function stealthnode.register_stealthnode(modname, node) - tile = "" + local tile = "" if minetest.registered_nodes[modname .. ":" .. node] == nil then print("[MOD] " .. minetest.get_current_modname() .. ": " .. modname .. ":" .. node .. " not found to register a stealthnode.")