🐞 fix(gvg): 完善队伍的刷新
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user