Skip to content

Commit 4f2604e

Browse files
committedJun 11, 2013
mesecon:rules_link nil return rule
Fixes #108
1 parent c87bc60 commit 4f2604e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎mesecons/internal.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ function mesecon:rules_link(output, input, dug_outputrules) --output/input are p
487487
for _, inputrule in ipairs(inputrules) do
488488
-- Check if input accepts from output
489489
if mesecon:cmpPos(mesecon:addPosRule(input, inputrule), output) then
490-
return true, inputrule.name
490+
return true, inputrule
491491
end
492492
end
493493
end

0 commit comments

Comments
 (0)
Please sign in to comment.