diff options
author | Jeija <norrepli@gmail.com> | 2014-01-11 23:17:14 -0800 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2014-01-11 23:17:14 -0800 |
commit | a6bd955449d16bb41d091dd2b701f358557bf038 (patch) | |
tree | d26ed066d1783a8f60962154210825436ea75500 /mesecons_gates | |
parent | 6c979a6ebb3d7e791c1aa0668b774ff9c3ceb8f6 (diff) | |
parent | f1ae54ed12413ee90675a6fc92da25f3a78e97d2 (diff) | |
download | mesecons-a6bd955449d16bb41d091dd2b701f358557bf038.tar mesecons-a6bd955449d16bb41d091dd2b701f358557bf038.tar.gz mesecons-a6bd955449d16bb41d091dd2b701f358557bf038.tar.bz2 mesecons-a6bd955449d16bb41d091dd2b701f358557bf038.tar.xz mesecons-a6bd955449d16bb41d091dd2b701f358557bf038.zip |
Merge pull request #144 from Novatux/gates-fix
Fix gates with serverstep code.
Let's give that a try.
Diffstat (limited to 'mesecons_gates')
-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), |