forked from minetest-mods/mesecons
		
	Fix a bug that occured when using a receptor placed directly next to a
gate. We need to call a changesignal even if the gate/other effector is still connected to a power source in a way.
This commit is contained in:
		| @@ -99,7 +99,7 @@ gates = { | ||||
| {name = "xor"  , inputnumber = 2}} | ||||
|  | ||||
| local onoff, drop, nodename, description, groups | ||||
| for i, gate in ipairs(gates) do | ||||
| for _, gate in ipairs(gates) do | ||||
| 	if gate.inputnumber == 1 then | ||||
| 		get_rules = gate_get_input_rules_oneinput | ||||
| 	elseif gate.inputnumber == 2 then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user