diff options
author | David Walter Seikel | 2014-04-20 05:23:15 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-20 05:23:15 +1000 |
commit | 7ff41f27ae55ec07dc91255df1f21cb037e65db1 (patch) | |
tree | 33885d7d33f51d68b29a4090f2af9b9bf0ffb3bd /ClientHamr | |
parent | Let actions and other stuff set in the thingasm() call work through their isV... (diff) | |
download | SledjHamr-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.lua | 3 |
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) | |||
958 | end | 958 | end |
959 | 959 | ||
960 | module = function (name) | 960 | module = function (name) |
961 | return require(name) | 961 | _G[name] = require(name) |
962 | return _G[name] | ||
962 | end | 963 | end |
963 | 964 | ||
964 | stuff = function (aThingy, aStuff) | 965 | stuff = function (aThingy, aStuff) |