summaryrefslogtreecommitdiffhomepage
path: root/not/Group.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-04 23:43:02 +0200
committerAki <nthirtyone@gmail.com>2017-09-04 23:43:02 +0200
commit168123c5a499d2d103d55bbf403b3a49bc3c28ec (patch)
tree3b8b1e6241f20827937a94a999322bd4048bc053 /not/Group.lua
parentcc96f0f2fe9af1ef9de0846f9939f3d477e86849 (diff)
downloadroflnauts-168123c5a499d2d103d55bbf403b3a49bc3c28ec.zip
roflnauts-168123c5a499d2d103d55bbf403b3a49bc3c28ec.tar.gz
roflnauts-168123c5a499d2d103d55bbf403b3a49bc3c28ec.tar.bz2
Fix also in this line
Diffstat (limited to 'not/Group.lua')
-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