Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update TurnoutSignalMast.java
  • Loading branch information
icklesteve committed Aug 13, 2019
1 parent b58870a commit 21b763d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/jmri/implementation/TurnoutSignalMast.java
Expand Up @@ -153,6 +153,7 @@ public void setLit(boolean newLit) {
if (!allowUnLit() || newLit == getLit()) {
return;
}
super.setLit(newLit);
if (newLit) {
// This will force the signalmast to send out the commands to set the aspect again.
setAspect(getAspect());
Expand All @@ -176,7 +177,6 @@ public void setLit(boolean newLit) {
}
}
}
super.setLit(newLit);
}

public String getTurnoutName(String appearance) {
Expand Down

0 comments on commit 21b763d

Please sign in to comment.