diff --git a/game-server/app.ts b/game-server/app.ts index 64d2d0a03..64d156bae 100644 --- a/game-server/app.ts +++ b/game-server/app.ts @@ -34,6 +34,7 @@ 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 { isDevelopEnv } from './app/services/utilService'; const filePath = (_pinus as any).FILEPATH; filePath.MASTER = '/config/master'; @@ -182,7 +183,7 @@ async function treatStartLogic(app: _pinus.Application) { timeTaskService.init(); initGuildActivityIndexInPinus(); } - if(app.getServerType() == 'chat') { + if(app.getServerType() == 'chat' && !isDevelopEnv()) { getTire(); } if(app.getServerType() == 'activity') {