summaryrefslogtreecommitdiff
path: root/mesecons_gates
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2014-01-10 16:38:02 +0100
committerNovatux <nathanael.courant@laposte.net>2014-01-11 07:24:42 +0100
commitf1ae54ed12413ee90675a6fc92da25f3a78e97d2 (patch)
tree0d87ee539f545b16c43d98b6a245006f299a5b0a /mesecons_gates
parent9c2a5c313c9e149d1031f29a1ff0d245a9093a9b (diff)
downloadmesecons-f1ae54ed12413ee90675a6fc92da25f3a78e97d2.tar
mesecons-f1ae54ed12413ee90675a6fc92da25f3a78e97d2.tar.gz
mesecons-f1ae54ed12413ee90675a6fc92da25f3a78e97d2.tar.bz2
mesecons-f1ae54ed12413ee90675a6fc92da25f3a78e97d2.tar.xz
mesecons-f1ae54ed12413ee90675a6fc92da25f3a78e97d2.zip
Try to fix gateswith serverstep code.
Diffstat (limited to 'mesecons_gates')
-rw-r--r--mesecons_gates/init.lua3
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),