fix typo
This commit is contained in:
parent
f1b909279c
commit
20b05812df
@ -27,7 +27,7 @@ end
|
||||
function Gate.setportstate(gate, index, state)
|
||||
if state ~= gate.port_states[index] then
|
||||
local group = gate.port_nets[index]
|
||||
local net_state_num = gate.port_net_state_nums[index]
|
||||
-- local net_state_num = gate.port_net_state_nums[index]
|
||||
group.state_num = group.state_num - gate.port_states[index] + state
|
||||
gate.port_states[index] = state
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user