fixed a mysterious bug in the RelayShape.java

This commit is contained in:
hneemann 2018-07-19 13:26:23 +02:00
parent a6822c16ab
commit 6525256813

View File

@ -41,8 +41,7 @@ public class RelayShape implements Shape {
public RelayShape(ElementAttributes attributes, PinDescriptions inputs, PinDescriptions outputs) {
this.inputs = inputs;
this.outputs = outputs;
invers = attributes.get(Keys.RELAY_NORMALLY_CLOSED);
relayIsClosed = invers;
relayIsClosed = attributes.get(Keys.RELAY_NORMALLY_CLOSED);
label = attributes.getCleanLabel();
poles = attributes.get(Keys.POLES);
}