diff --git a/core/code/map_data_render.js b/core/code/map_data_render.js index 8118f8ee8..71e7f5ba9 100644 --- a/core/code/map_data_render.js +++ b/core/code/map_data_render.js @@ -379,7 +379,7 @@ window.Render.prototype.createFieldEntity = function(ent) { //create placeholder portals for field corners. we already do links, but there are the odd case where this is useful for (var i=0; i<3; i++) { var p=data.points[i]; - this.createPlaceholderPortalEntity(p.guid, p.latE6, p.lngE6, data.team, data.timestamp); + this.createPlaceholderPortalEntity(p.guid, p.latE6, p.lngE6, data.team, 0); } // check if entity already exists diff --git a/core/code/portal_marker.js b/core/code/portal_marker.js index 534252cd2..30bc969b6 100644 --- a/core/code/portal_marker.js +++ b/core/code/portal_marker.js @@ -55,7 +55,7 @@ L.PortalMarker = L.CircleMarker.extend({ willUpdate: function (details) { // details are from a placeholder if (details.level === undefined) { - // if team differs and corresponding link/field is more recent + // if team differs and corresponding link is more recent (ignore field) if (this._details.timestamp < details.timestamp && this._details.team !== details.team) return true; // in any other case