1
This commit is contained in:
parent
6a502707e6
commit
6d7015324b
@ -24,4 +24,7 @@ const GS_SECRET_KEYS = array(
|
|||||||
'BIgDh5J%uUktooKxT!IM7#m$NtB51%la'
|
'BIgDh5J%uUktooKxT!IM7#m$NtB51%la'
|
||||||
);
|
);
|
||||||
const NOTICE_CHANNEL_ID = 'world_room_1';
|
const NOTICE_CHANNEL_ID = 'world_room_1';
|
||||||
|
const CIRCUIT_MATCH_SERVER_LIST = array(
|
||||||
|
9
|
||||||
|
);
|
||||||
define('PRESENT_FREE_ITEM', 1);
|
define('PRESENT_FREE_ITEM', 1);
|
||||||
|
@ -389,7 +389,10 @@ class OtherController extends BaseAuthedController {
|
|||||||
if ($isOpen) {
|
if ($isOpen) {
|
||||||
if ($modeMeta['mapMode'] == \mt\MapMode::CIRCUIT_MODE){
|
if ($modeMeta['mapMode'] == \mt\MapMode::CIRCUIT_MODE){
|
||||||
if (myself()->_switchIsOpen('circuitMatch')) {
|
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{
|
}else{
|
||||||
array_push($modeList, $temp);
|
array_push($modeList, $temp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user