summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
Diffstat (limited to 'not')
-rw-r--r--not/Group.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Group.lua b/not/Group.lua
index d9c0b9c..e644e5e 100644
--- a/not/Group.lua
+++ b/not/Group.lua
@@ -14,7 +14,7 @@ function Group:callEach (func, ...)
local results = {}
for _,child in ipairs(self.children) do
if type(child[func]) == "function" then
- table.insert(results, child[func](child, ...))
+ table.insert(results, child[func](child, ...) or nil)
end
end
return results