✨ feat(gvg): 开始备战期时激战期内存清理
This commit is contained in:
@@ -182,4 +182,8 @@ export async function initTeamToMem() {
|
||||
teamObj.enterCity(team);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export function clearBattleMemory() {
|
||||
gvgBattleMap.clear();
|
||||
}
|
||||
@@ -149,6 +149,7 @@ export async function initLeaguePrepare() {
|
||||
for(let { leagueCode, memberCnt } of leagues) {
|
||||
await GVGLeaguePrepareModel.initData(config.configId, leagueCode, memberCnt);
|
||||
}
|
||||
pinus.app.rpc.guild?.guildRemote?.clearBattleMemory.broadcast();
|
||||
}
|
||||
|
||||
export async function setGVGServerGroup() {
|
||||
|
||||
Reference in New Issue
Block a user