diff options
author | David Walter Seikel | 2014-03-29 00:27:15 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-03-29 00:27:15 +1000 |
commit | ed1adf227785c2212a4147aa1ea4b762ef938a2a (patch) | |
tree | c94795bd9e6d9e5f12c3e58c902cdae2d14be7c2 /ClientHamr | |
parent | Notes about multiple module copies, and Stuff. (diff) | |
download | SledjHamr-ed1adf227785c2212a4147aa1ea4b762ef938a2a.zip SledjHamr-ed1adf227785c2212a4147aa1ea4b762ef938a2a.tar.gz SledjHamr-ed1adf227785c2212a4147aa1ea4b762ef938a2a.tar.bz2 SledjHamr-ed1adf227785c2212a4147aa1ea4b762ef938a2a.tar.xz |
Stuff things in the Thing to.
Diffstat (limited to 'ClientHamr')
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index 7829055..b6de7c9 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua | |||
@@ -489,9 +489,11 @@ thing = function (names, ...) | |||
489 | 489 | ||
490 | -- Remove old names, then stash the Thing under all of it's new names. | 490 | -- Remove old names, then stash the Thing under all of it's new names. |
491 | for i, v in ipairs(oldNames) do | 491 | for i, v in ipairs(oldNames) do |
492 | thing.things[v] = nil | ||
492 | things[v] = nil | 493 | things[v] = nil |
493 | end | 494 | end |
494 | for i, v in ipairs(thing.names) do | 495 | for i, v in ipairs(thing.names) do |
496 | thing.things[v] = thing | ||
495 | things[v] = thing | 497 | things[v] = thing |
496 | end | 498 | end |
497 | 499 | ||