Skip to content
Snippets Groups Projects
Commit 313b9adc authored by Jeija's avatar Jeija
Browse files

Should fix this bug: bit.ly/XEy94j

parent 13befe3b
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ function mesecon:receptor_get_rules(node)
if receptor.onstate == node.name or receptor.offstate == node.name then
if receptor.get_rules ~= nil then
return receptor.get_rules(node.param2)
elseif mesecon.receptors[i].rules ~=nil then
elseif receptor.rules ~=nil then
return receptor.rules
else
return mesecon:get_rules("default")
......
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