(寻宝): 将寻宝的服单拎出来

This commit is contained in:
luying
2023-05-05 15:42:33 +08:00
parent 0a18e7330b
commit ddc05d58b9
20 changed files with 352 additions and 125 deletions
@@ -91,6 +91,10 @@ export class GmHandler {
for (let { id } of battleServers) {
await this.app.rpc.battle.battleRemote.reloadResources.toServer(id);
}
let comBattleServers = this.app.getServersByType('comBattle');
for (let { id } of comBattleServers) {
await this.app.rpc.comBattle.comBattleRemote.reloadResources.toServer(id);
}
let chatServers = this.app.getServersByType('chat');
for (let { id } of chatServers) {
await this.app.rpc.chat.chatRemote.reloadResources.toServer(id);