summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2015-02-16 23:24:10 -0500
committerShadowNinja <shadowninja@minetest.net>2015-02-16 23:24:10 -0500
commit2ef1abad55f0e1b8b76169cdb1da3bc3f8749c67 (patch)
treed190ae4c41ec073c394c7946dccb7055522b1ea8
parent4a0c8e158070b2e1ea72768f9396c642a4658f51 (diff)
Silence global warning
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index c00adb2..3a0264c 100644
--- a/init.lua
+++ b/init.lua
@@ -1,5 +1,5 @@
-- Support the old multi-load method
-intllib = intllib or {}
+intllib = rawget(_G, "intllib") or {}
local MP = minetest.get_modpath("intllib")