aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua
diff options
context:
space:
mode:
Diffstat (limited to 'ClientHamr/GuiLua')
-rw-r--r--ClientHamr/GuiLua/skang.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua
index b7cf59b..17075ed 100644
--- a/ClientHamr/GuiLua/skang.lua
+++ b/ClientHamr/GuiLua/skang.lua
@@ -266,7 +266,7 @@ __newindex could catch a table being assigned - test.foo = {widget = '...', acl=
266 foo has to be a table value though, with a metatable 266 foo has to be a table value though, with a metatable
267 and the rest of skang is treating test.foo as a nil value so that __index and __newindex work. B-( 267 and the rest of skang is treating test.foo as a nil value so that __index and __newindex work. B-(
268 test itself is a table, so all is not lost - 268 test itself is a table, so all is not lost -
269 test{'foo', widget='...', acl='..'} -> __call(test, {'foo', ...}) 269 test{'foo', widget='...', acl='..'} -> __call(test, {'foo', ...}) -> skang.thing{'foo', ...}
270 which would assign stuff to skang.things.foo.widget and skang.things.foo.acl 270 which would assign stuff to skang.things.foo.widget and skang.things.foo.acl
271 as opposed to - 271 as opposed to -
272 skang.things.foo = {widget='...', acl='...'} 272 skang.things.foo = {widget='...', acl='...'}