【信号机状态背景保存】

This commit is contained in:
weizhihong 2022-12-19 16:17:41 +08:00
parent 3161a2bbbc
commit 7821b0cb31

View File

@ -104,7 +104,7 @@ public class StorageSignal extends StorageDelayUnlockDevice {
change = true; change = true;
this.setBlockade(signal.isBlockade()); this.setBlockade(signal.isBlockade());
} }
if (signal.getLevel() != 1 && signal.getLevel() != 0) { if (signal.getLevel() != 1) {
change = true; change = true;
this.setLevel(signal.getLevel()); this.setLevel(signal.getLevel());
} }