diff options
Diffstat (limited to '')
-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 75a0cd4..ec88dd6 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua | |||
@@ -153,7 +153,7 @@ Thing = | |||
153 | local thing = things[key] | 153 | local thing = things[key] |
154 | 154 | ||
155 | -- First see if this is a Thing. | 155 | -- First see if this is a Thing. |
156 | if thing then return table[thing.names[1] ] end | 156 | if thing and (key ~= thing.names[1]) then return table[thing.names[1] ] end |
157 | 157 | ||
158 | -- Then see if we can inherit it from Thing. | 158 | -- Then see if we can inherit it from Thing. |
159 | thing = Thing[key] | 159 | thing = Thing[key] |