This commit is contained in:
aozhiwei 2024-09-20 17:09:57 +08:00
parent 6a502707e6
commit 6d7015324b
2 changed files with 7 additions and 1 deletions

View File

@ -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);

View File

@ -389,8 +389,11 @@ class OtherController extends BaseAuthedController {
if ($isOpen) {
if ($modeMeta['mapMode'] == \mt\MapMode::CIRCUIT_MODE){
if (myself()->_switchIsOpen('circuitMatch')) {
if (count(CIRCUIT_MATCH_SERVER_LIST) > 0 &&
in_array(myself()->_getZid(), CIRCUIT_MATCH_SERVER_LIST)) {
array_unshift($modeList,$temp);
}
}
}else{
array_push($modeList, $temp);
}