From be5bbdae8f805f29c5dce92de4ab82c46cfa7643 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 20 Sep 2024 13:11:21 +0800 Subject: [PATCH] 1 --- webapp/controller/OtherController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/controller/OtherController.class.php b/webapp/controller/OtherController.class.php index 1723c0d4..6131b131 100644 --- a/webapp/controller/OtherController.class.php +++ b/webapp/controller/OtherController.class.php @@ -387,7 +387,8 @@ class OtherController extends BaseAuthedController { $isOpen = mt\MapMode::isOpen($modeMeta); if ($isOpen) { - if ($modeMeta['mapMode'] == \mt\MapMode::CIRCUIT_MODE){ + if ($modeMeta['mapMode'] == \mt\MapMode::CIRCUIT_MODE && + myself()->_switchIsOpen('circuitMatch')){ array_unshift($modeList,$temp); }else{ array_push($modeList, $temp);