diff options
Diffstat (limited to 'not/Demultiplexer.lua')
-rw-r--r-- | not/Demultiplexer.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/not/Demultiplexer.lua b/not/Demultiplexer.lua index c2b2272..cbbbcef 100644 --- a/not/Demultiplexer.lua +++ b/not/Demultiplexer.lua @@ -27,8 +27,10 @@ end function Demultiplexer:callWithSet (set, func, ...) for i,test in ipairs(Controller.getSets()) do if test == set then - self.children[i][func](...) - return nil + local child = self.children[i] + if child then + return child[func](child, ...) + end end end end |