🐞 fix(gvgBattle): 补充队伍占领积分点的内存修改

This commit is contained in:
liangtongchuan
2023-02-11 22:54:19 +08:00
committed by luying
parent e2e4c7424c
commit 17795e12e6

View File

@@ -75,6 +75,13 @@ class GVGBattleData {
team.attackTime = teamUpdate.attackTime;
team.defenseTime = teamUpdate.defenseTime;
}
// 队伍入驻积分点
public teamSettle(teamCode: string, pointId: number) {
let team = this.teams.get(teamCode);
if(!team) return;
team.pointId = pointId;
}
}
export function getGVGBattleData(groupId: number, serverType: number) {