✨ feat(pvp): 巅峰演武战区化
This commit is contained in:
+4
-3
@@ -33,9 +33,10 @@ import { loadGmDb } from './app/db';
|
||||
import { loadActivities } from './app/services/activity/activityRemoteService';
|
||||
import { checkAndSetApiIsClose } from './app/services/chatService';
|
||||
import { initGuildActivityIndexInPinus, resetJoinWoodenHorse } from './app/services/guildActivity/guildActivityService';
|
||||
import { setGVGConfig, setGVGServerGroup } from './app/services/gvg/gvgService';
|
||||
import { setGVGConfig } from './app/services/gvg/gvgService';
|
||||
import { isDevelopEnv } from './app/services/utilService';
|
||||
import { initTeamToMem } from './app/services/gvg/gvgBattleMemory';
|
||||
import { setServerGroup } from './app/services/serverService';
|
||||
|
||||
const filePath = (_pinus as any).FILEPATH;
|
||||
filePath.MASTER = '/config/master';
|
||||
@@ -203,8 +204,8 @@ async function treatStartLogic(app: _pinus.Application) {
|
||||
if(app.getServerType() != 'systimer') {
|
||||
timeTaskService.initHiddenData();
|
||||
}
|
||||
if(app.getServerType() == 'guild'|| app.getServerType() == 'chat'|| app.getServerType() == 'connector' || app.getServerType() == 'systimer' || app.getServerType() == 'gm') {
|
||||
setGVGServerGroup();
|
||||
if(app.getServerType() == 'battle'|| app.getServerType() == 'guild'|| app.getServerType() == 'chat'|| app.getServerType() == 'connector' || app.getServerType() == 'systimer' || app.getServerType() == 'gm') {
|
||||
setServerGroup();
|
||||
}
|
||||
if(app.getServerType() == 'guild') {
|
||||
setGVGConfig()
|
||||
|
||||
Reference in New Issue
Block a user