🐞 fix(gvg): 投石车积分点不显示
This commit is contained in:
@@ -300,6 +300,8 @@ export class GVGBattleHandler {
|
|||||||
let points: GVGTeamInListOnPoint[] = [], players: GVGTeamInList[] = [];
|
let points: GVGTeamInListOnPoint[] = [], players: GVGTeamInList[] = [];
|
||||||
let pointIds = gameData.gvgPointByAreaId.get(myTeam.areaId)||[];
|
let pointIds = gameData.gvgPointByAreaId.get(myTeam.areaId)||[];
|
||||||
for(let pointId of pointIds) {
|
for(let pointId of pointIds) {
|
||||||
|
let dicPoint = gameData.gvgAreaPoint.get(pointId);
|
||||||
|
if(dicPoint.type != GVG_POINT_TYPE.ROBOT) continue;
|
||||||
let team = teams.find(cur => cur.pointId == pointId);
|
let team = teams.find(cur => cur.pointId == pointId);
|
||||||
let obj = new GVGTeamInListOnPoint(pointId, !!team, team);
|
let obj = new GVGTeamInListOnPoint(pointId, !!team, team);
|
||||||
points.push(obj);
|
points.push(obj);
|
||||||
|
|||||||
Reference in New Issue
Block a user