diff options
author | Tim <t4im@users.noreply.github.com> | 2015-02-05 09:47:37 +0100 |
---|---|---|
committer | Tim <t4im@users.noreply.github.com> | 2015-02-05 09:47:37 +0100 |
commit | 49e82a604bd947813ec93daeafcdfc188765c597 (patch) | |
tree | bc8e3b69d6b76eb2713ecd1952bc25d387fe9b94 /wrench | |
parent | 3fd53dfe95389e6e9d66f5fbd1b623c4092c06b7 (diff) |
supress undeclared variable access warnings in cases of intentional declaration checks
Diffstat (limited to 'wrench')
-rw-r--r-- | wrench/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |