From 7821b0cb312bc6871160b0a730bfde175352e6c3 Mon Sep 17 00:00:00 2001 From: weizhihong Date: Mon, 19 Dec 2022 16:17:41 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=A1=E5=8F=B7=E6=9C=BA=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E8=83=8C=E6=99=AF=E4=BF=9D=E5=AD=98=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rtss/simulation/cbtc/data/storage/device/StorageSignal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/data/storage/device/StorageSignal.java b/src/main/java/club/joylink/rtss/simulation/cbtc/data/storage/device/StorageSignal.java index 2854854ff..f47c717fe 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/data/storage/device/StorageSignal.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/data/storage/device/StorageSignal.java @@ -104,7 +104,7 @@ public class StorageSignal extends StorageDelayUnlockDevice { change = true; this.setBlockade(signal.isBlockade()); } - if (signal.getLevel() != 1 && signal.getLevel() != 0) { + if (signal.getLevel() != 1) { change = true; this.setLevel(signal.getLevel()); }