From cc96f0f2fe9af1ef9de0846f9939f3d477e86849 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 4 Sep 2017 23:40:37 +0200 Subject: Fix for empty second parameter in table.insert --- not/Group.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1