summaryrefslogtreecommitdiff
path: root/global/global.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-01 20:29:30 +0800
committerchai <chaifix@163.com>2018-08-01 20:29:30 +0800
commitb0a665f16aa241c2f8650d1040bab42faa2a75bc (patch)
tree0edb83f2a3495c7009927bc6c026c72f9db91247 /global/global.lua
parent5f9dc5209d621d6ce7d27936a24b23589142d0ae (diff)
*update
Diffstat (limited to 'global/global.lua')
-rw-r--r--global/global.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/global/global.lua b/global/global.lua
deleted file mode 100644
index 7cce50c..0000000
--- a/global/global.lua
+++ /dev/null
@@ -1,13 +0,0 @@
-local global = {}
-_G = _G or {}
-global._G = _G
-
-global.get = function(var)
- return _G[var]
-end
-
-global.set = function(var, value)
- _G[var] = value
-end
-
-return global \ No newline at end of file