From ffdf00fdd0c8b9d63483da3a639aa7e2d882bc8d Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 18 Apr 2014 18:38:35 +1000 Subject: Not sure why I had parent in there, it's not used anywhere. --- ClientHamr/GuiLua/skang.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ClientHamr/GuiLua/skang.lua') 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) -- Deal with setting a new Keyed table entry. local newThing = copy(parent, key) rawset(metaMum.__values, key, newThing) - thingy = {names={key}, types={'table'}, parent=newThing, stuff=getmetatable(newThing).__self.stuff, } +-- thingy = {names={key}, types={'table'}, parent=newThing, stuff=getmetatable(newThing).__self.stuff, } + thingy = {names={key}, types={'table'}, stuff=getmetatable(newThing).__self.stuff, } setmetatable(thingy, {__index = Thing}) -- To pick up isValid, pattern, and the other stuff by default. end end -- cgit v1.1