diff --git a/config/config.php b/config/config.php index 28265a71..e824f4b9 100644 --- a/config/config.php +++ b/config/config.php @@ -24,4 +24,7 @@ const GS_SECRET_KEYS = array( 'BIgDh5J%uUktooKxT!IM7#m$NtB51%la' ); const NOTICE_CHANNEL_ID = 'world_room_1'; +const CIRCUIT_MATCH_SERVER_LIST = array( + 9 +); define('PRESENT_FREE_ITEM', 1); diff --git a/webapp/controller/OtherController.class.php b/webapp/controller/OtherController.class.php index d8c420e3..39fc3e36 100644 --- a/webapp/controller/OtherController.class.php +++ b/webapp/controller/OtherController.class.php @@ -389,7 +389,10 @@ class OtherController extends BaseAuthedController { if ($isOpen) { if ($modeMeta['mapMode'] == \mt\MapMode::CIRCUIT_MODE){ if (myself()->_switchIsOpen('circuitMatch')) { - array_unshift($modeList,$temp); + if (count(CIRCUIT_MATCH_SERVER_LIST) > 0 && + in_array(myself()->_getZid(), CIRCUIT_MATCH_SERVER_LIST)) { + array_unshift($modeList,$temp); + } } }else{ array_push($modeList, $temp);