diff options
Diffstat (limited to '')
-rw-r--r-- | lib/skang.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/skang.lua b/lib/skang.lua index 633a574..880af17 100644 --- a/lib/skang.lua +++ b/lib/skang.lua | |||
@@ -880,7 +880,7 @@ thingasm = function (names, ...) | |||
880 | local args, err = loadstring('return ' .. thingy.widget) | 880 | local args, err = loadstring('return ' .. thingy.widget) |
881 | if args then | 881 | if args then |
882 | setfenv(args, parent) | 882 | setfenv(args, parent) |
883 | thingy.Cwidget = widget(args()) | 883 | thingy.Cwidget = widget(parent.window, args()) |
884 | print('\nNO IDEA WHY this does isValid() three times on the action, and the first one being a string.') | 884 | print('\nNO IDEA WHY this does isValid() three times on the action, and the first one being a string.') |
885 | parent.W[name] = thingy | 885 | parent.W[name] = thingy |
886 | else | 886 | else |