fix gate get port state

This commit is contained in:
Redo
2022-11-04 15:11:59 -06:00
parent b1c5eb1479
commit 7823e413ee
2 changed files with 1 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ end
-- Logic Critical
function Gate.getportstate(gate, index)
return gate.port_states[index]
return gate.port_nets[index].state
end
-- Logic Critical