diff options
author | David Walter Seikel | 2014-04-18 18:38:35 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-18 18:38:35 +1000 |
commit | ffdf00fdd0c8b9d63483da3a639aa7e2d882bc8d (patch) | |
tree | d168274c9adb050a06b55387c5f1666be218a78e | |
parent | A few comments++ (diff) | |
download | SledjHamr-ffdf00fdd0c8b9d63483da3a639aa7e2d882bc8d.zip SledjHamr-ffdf00fdd0c8b9d63483da3a639aa7e2d882bc8d.tar.gz SledjHamr-ffdf00fdd0c8b9d63483da3a639aa7e2d882bc8d.tar.bz2 SledjHamr-ffdf00fdd0c8b9d63483da3a639aa7e2d882bc8d.tar.xz |
Not sure why I had parent in there, it's not used anywhere.
-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 53ba99b..5796361 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua | |||
@@ -696,7 +696,8 @@ __newindex = function (parent, key, value) | |||
696 | -- Deal with setting a new Keyed table entry. | 696 | -- Deal with setting a new Keyed table entry. |
697 | local newThing = copy(parent, key) | 697 | local newThing = copy(parent, key) |
698 | rawset(metaMum.__values, key, newThing) | 698 | rawset(metaMum.__values, key, newThing) |
699 | thingy = {names={key}, types={'table'}, parent=newThing, stuff=getmetatable(newThing).__self.stuff, } | 699 | -- thingy = {names={key}, types={'table'}, parent=newThing, stuff=getmetatable(newThing).__self.stuff, } |
700 | thingy = {names={key}, types={'table'}, stuff=getmetatable(newThing).__self.stuff, } | ||
700 | setmetatable(thingy, {__index = Thing}) -- To pick up isValid, pattern, and the other stuff by default. | 701 | setmetatable(thingy, {__index = Thing}) -- To pick up isValid, pattern, and the other stuff by default. |
701 | end | 702 | end |
702 | end | 703 | end |