diff options
author | Novatux <nathanael.courant@laposte.net> | 2014-01-10 16:38:02 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2014-01-11 07:24:42 +0100 |
commit | f1ae54ed12413ee90675a6fc92da25f3a78e97d2 (patch) | |
tree | 0d87ee539f545b16c43d98b6a245006f299a5b0a /mesecons_gates/init.lua | |
parent | 9c2a5c313c9e149d1031f29a1ff0d245a9093a9b (diff) |
Try to fix gateswith serverstep code.
Diffstat (limited to 'mesecons_gates/init.lua')
-rw-r--r-- | mesecons_gates/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesecons_gates/init.lua b/mesecons_gates/init.lua index 1a9ee83..51ed4af 100644 --- a/mesecons_gates/init.lua +++ b/mesecons_gates/init.lua @@ -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), |