diff --git a/src/main/java/com/troblecodings/signals/signalbox/SignalBoxGrid.java b/src/main/java/com/troblecodings/signals/signalbox/SignalBoxGrid.java index c7b77ac96..bc4db847b 100644 --- a/src/main/java/com/troblecodings/signals/signalbox/SignalBoxGrid.java +++ b/src/main/java/com/troblecodings/signals/signalbox/SignalBoxGrid.java @@ -191,6 +191,9 @@ protected void updatePrevious(final SignalBoxPathway pathway) { public void resetAllPathways() { ImmutableSet.copyOf(this.startsToPath.values()).forEach(this::resetPathway); clearPaths(); + modeGrid.values().forEach(node -> node.getModes().values() + .forEach(optionEntry -> optionEntry.getEntry(PathEntryType.PATHUSAGE) + .ifPresent(_u -> optionEntry.removeEntry(PathEntryType.PATHUSAGE)))); } public void resetAllSignals() {