fix typo
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user