From 49e82a604bd947813ec93daeafcdfc188765c597 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 5 Feb 2015 09:47:37 +0100 Subject: supress undeclared variable access warnings in cases of intentional declaration checks --- extranodes/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extranodes') diff --git a/extranodes/init.lua b/extranodes/init.lua index 8c99d1b..2b04812 100644 --- a/extranodes/init.lua +++ b/extranodes/init.lua @@ -2,7 +2,7 @@ -- namespace: technic -- Boilerplate to support localized strings if intllib mod is installed. local S -if intllib then +if rawget(_G, "intllib") then S = intllib.Getter() else S = function(s) return s end -- cgit v1.2.3