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 --- wrench/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wrench') diff --git a/wrench/init.lua b/wrench/init.lua index e826094..f971970 100644 --- a/wrench/init.lua +++ b/wrench/init.lua @@ -21,7 +21,7 @@ dofile(modpath.."/technic.lua") -- 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