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 e644e5e..45dc474 100644
--- a/not/Group.lua
+++ b/not/Group.lua
@@ -30,7 +30,7 @@ function Group:callEachBut (avoid, func, ...)
for _,child in ipairs(self.children) do
if child ~= avoid then
if type(child[func]) == "function" then
- table.insert(results, child[func](child, ...))
+ table.insert(results, child[func](child, ...) or nil)
end
end
end