🐞 fix(gvg): 修复队伍进出城池内存更新

This commit is contained in:
luying
2023-02-23 17:50:50 +08:00
parent 7300efd263
commit c3d86076ec
9 changed files with 324 additions and 216 deletions
+1 -1
View File
@@ -34,6 +34,7 @@ export async function createNewGVGConfig() {
await pinus.app.rpc.guild.guildRemote.setGVGServerGroup.broadcast();
await pinus.app.rpc.chat.chatRemote.setGVGServerGroup.broadcast();
await pinus.app.rpc.connector.connectorRemote.setGVGServerGroup.broadcast();
await pinus.app.rpc.guild?.guildRemote?.clearBattleMemory.broadcast();
} catch(e) {
console.log('remote未初始完');
}
@@ -176,7 +177,6 @@ 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() {