diff options
author | David Walter Seikel | 2014-03-31 18:30:38 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-03-31 18:30:38 +1000 |
commit | d7e08176fc3004c73916b740c0331e899204ad36 (patch) | |
tree | 52807e5196c29d6431e1cc26d6c3ecf831b9415e | |
parent | A copy of a Thing should include itself as the module. (diff) | |
download | SledjHamr-d7e08176fc3004c73916b740c0331e899204ad36.zip SledjHamr-d7e08176fc3004c73916b740c0331e899204ad36.tar.gz SledjHamr-d7e08176fc3004c73916b740c0331e899204ad36.tar.bz2 SledjHamr-d7e08176fc3004c73916b740c0331e899204ad36.tar.xz |
TODO++
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index 4283489..fc93c0e 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua | |||
@@ -411,7 +411,7 @@ Thing.isValid = function (self, module) -- Check if this Thing is valid, return | |||
411 | -- Anything that overrides this method, should call this super method first. | 411 | -- Anything that overrides this method, should call this super method first. |
412 | local name = self.names[1] | 412 | local name = self.names[1] |
413 | local modThing = getmetatable(module) | 413 | local modThing = getmetatable(module) |
414 | local thingy = modThing.__stuff[name] | 414 | local thingy = modThing.__stuff[name] -- TODO - This should be the same as self? |
415 | local key = thingy.names[1]; | 415 | local key = thingy.names[1]; |
416 | local value = modThing.__values[key] | 416 | local value = modThing.__values[key] |
417 | 417 | ||