diff options
Diffstat (limited to 'script/core/infer.lua')
-rw-r--r-- | script/core/infer.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/infer.lua b/script/core/infer.lua index 2d791bc0..ddf51d76 100644 --- a/script/core/infer.lua +++ b/script/core/infer.lua @@ -515,12 +515,12 @@ function m.searchInfers(source, field, mark) if id then local node = noder.getNodeByID(source, id) if node and node.source then - noder.eachSource(node, function (src) + for src in noder.eachSource(node) do if not mark[src] then mark[src] = true searchInfer(src, infers, mark) end - end) + end end end end |