summaryrefslogtreecommitdiff
path: root/technic_chests/init.lua
diff options
context:
space:
mode:
authorTim <t4im@users.noreply.github.com>2015-02-05 09:47:37 +0100
committerTim <t4im@users.noreply.github.com>2015-02-05 09:47:37 +0100
commit49e82a604bd947813ec93daeafcdfc188765c597 (patch)
treebc8e3b69d6b76eb2713ecd1952bc25d387fe9b94 /technic_chests/init.lua
parent3fd53dfe95389e6e9d66f5fbd1b623c4092c06b7 (diff)
supress undeclared variable access warnings in cases of intentional declaration checks
Diffstat (limited to 'technic_chests/init.lua')
-rw-r--r--technic_chests/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/technic_chests/init.lua b/technic_chests/init.lua
index 5fa96ff..7989912 100644
--- a/technic_chests/init.lua
+++ b/technic_chests/init.lua
@@ -4,7 +4,7 @@
modpath = minetest.get_modpath("technic_chests")
-technic = technic or {}
+technic = rawget(_G, "technic") or {}
technic.chests = {}
dofile(modpath.."/common.lua")