Skip to content
Snippets Groups Projects
Commit 4f2604e0 authored by khonkhortisan's avatar khonkhortisan
Browse files

mesecon:rules_link nil return rule

parent c87bc606
No related branches found
No related tags found
No related merge requests found
......@@ -487,7 +487,7 @@ function mesecon:rules_link(output, input, dug_outputrules) --output/input are p
for _, inputrule in ipairs(inputrules) do
-- Check if input accepts from output
if mesecon:cmpPos(mesecon:addPosRule(input, inputrule), output) then
return true, inputrule.name
return true, inputrule
end
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment