🐞 fix(gvg): 完善队伍的刷新

This commit is contained in:
luying
2023-02-28 15:26:21 +08:00
parent f66e784b63
commit 30018ad0f3
4 changed files with 51 additions and 30 deletions
@@ -63,6 +63,8 @@ class GVGBattleData {
if(!this.teams.has(team.teamCode)) {
this.teams.set(team.teamCode, new GVGTeamMem(team))
} else {
this.teams.get(team.teamCode).updateTeam(team);
}
this.teams.get(team.teamCode).setCity(team.cityId, team.areaId, team.pointId);
if(team.pointId > 0 && !team.isRobot) {