Try to fix gateswith serverstep code.

This commit is contained in:
Novatux
2014-01-10 16:38:02 +01:00
джерело 9c2a5c313c
коміт f1ae54ed12
4 змінених файлів з 111 додано та 33 видалено

@ -23,7 +23,8 @@ function gate_get_input_rules_twoinputs(node)
return gate_rotate_rules(node)
end
function update_gate(pos)
function update_gate(pos, node, rulename, newstate)
yc_update_real_portstates(pos, node, rulename, newstate)
gate = get_gate(pos)
L = rotate_ports(
yc_get_real_portstates(pos),