diff options
Diffstat (limited to 'ClientHamr')
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index e89de8e..dfcb5e7 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua | |||
@@ -293,7 +293,7 @@ Thing.__newindex = function (table, key, value) | |||
293 | local thing = things[key] | 293 | local thing = things[key] |
294 | 294 | ||
295 | if thing then | 295 | if thing then |
296 | local name = thing.names[1] | 296 | -- local name = thing.names[1] |
297 | -- This is a proxy table, the values never exist in the real table. | 297 | -- This is a proxy table, the values never exist in the real table. |
298 | thing.value = value | 298 | thing.value = value |
299 | if 'function' == type(value) then | 299 | if 'function' == type(value) then |
@@ -302,7 +302,7 @@ Thing.__newindex = function (table, key, value) | |||
302 | for i, v in ipairs(thing.types) do | 302 | for i, v in ipairs(thing.types) do |
303 | if 1 ~= i then types = types .. v .. ', ' end | 303 | if 1 ~= i then types = types .. v .. ', ' end |
304 | end | 304 | end |
305 | print(thing.module._NAME .. '.' .. name .. '(' .. types .. ') -> ' .. thing.help) | 305 | -- print(thing.module._NAME .. '.' .. name .. '(' .. types .. ') -> ' .. thing.help) |
306 | else | 306 | else |
307 | -- NOTE - invalid values are still stored, this is by design. | 307 | -- NOTE - invalid values are still stored, this is by design. |
308 | if not thing:isValid() then | 308 | if not thing:isValid() then |