✨ feat(gvg): 定时器

This commit is contained in:
luying
2023-02-17 11:00:25 +08:00
parent 7543baa8cb
commit 605ee869a9
12 changed files with 210 additions and 56 deletions
+4 -1
View File
@@ -207,7 +207,10 @@ async function treatStartLogic(app: _pinus.Application) {
setGVGServerGroup();
}
if(app.getServerType() == 'guild') {
setGVGConfig().then(initTeamToMem);
setGVGConfig();
app.event.on('start_all', () => {
initTeamToMem();
});
}
if(app.isMaster()) {