diff --git a/src/main/java/club/joylink/rtss/services/psl/VirtualRealityPslService.java b/src/main/java/club/joylink/rtss/services/psl/VirtualRealityPslService.java index a5388aa6c..f1c96ffc5 100644 --- a/src/main/java/club/joylink/rtss/services/psl/VirtualRealityPslService.java +++ b/src/main/java/club/joylink/rtss/services/psl/VirtualRealityPslService.java @@ -67,13 +67,13 @@ public class VirtualRealityPslService implements IVirtualRealityPslService{ case KM: // vrPsl.setKmButton(!vrPsl.isKmButton()); // if (vrPsl.isKmButton()) - if (vrPsd.isLockAndClose()) + if (vrPsl.isYxjzKey() && vrPsd.isLockAndClose()) vrPsd.startSetting(true); break; case GM: // vrPsl.setGmButton(!vrPsl.isGmButton()); // if (vrPsl.isGmButton()) - if (vrPsd.isOpen2End()) + if (vrPsl.isYxjzKey() && vrPsd.isOpen2End()) vrPsd.startSetting(false); break; case SD: