aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-20 05:23:15 +1000
committerDavid Walter Seikel2014-04-20 05:23:15 +1000
commit7ff41f27ae55ec07dc91255df1f21cb037e65db1 (patch)
tree33885d7d33f51d68b29a4090f2af9b9bf0ffb3bd /ClientHamr
parentLet actions and other stuff set in the thingasm() call work through their isV... (diff)
downloadSledjHamr-7ff41f27ae55ec07dc91255df1f21cb037e65db1.zip
SledjHamr-7ff41f27ae55ec07dc91255df1f21cb037e65db1.tar.gz
SledjHamr-7ff41f27ae55ec07dc91255df1f21cb037e65db1.tar.bz2
SledjHamr-7ff41f27ae55ec07dc91255df1f21cb037e65db1.tar.xz
For the module command, make the loaded module global.
Diffstat (limited to 'ClientHamr')
-rw-r--r--ClientHamr/GuiLua/skang.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua
index 74bebd4..af315e3 100644
--- a/ClientHamr/GuiLua/skang.lua
+++ b/ClientHamr/GuiLua/skang.lua
@@ -958,7 +958,8 @@ copy = function (parent, name)
958end 958end
959 959
960module = function (name) 960module = function (name)
961 return require(name) 961 _G[name] = require(name)
962 return _G[name]
962end 963end
963 964
964stuff = function (aThingy, aStuff) 965stuff = function (aThingy, aStuff)