diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Section.java b/src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Section.java index a4dff0125..0bb81899a 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Section.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Section.java @@ -871,7 +871,10 @@ public class Section extends DelayUnlockDevice { boolean leftSectionNctOccupied = leftSection.isNctOccupied() && leftSection.getParent().equals(this.parent); Section rightSection = logic.getRightSection(); boolean rightSectionNctOccupied = rightSection.isNctOccupied() && rightSection.getParent().equals(this.parent); - logic.setNctOccupied(leftSectionNctOccupied || rightSectionNctOccupied); + if (leftSectionNctOccupied || rightSectionNctOccupied) { + logic.setNctOccupied(true); + setNctOccupied(true); + } }); }