diff --git a/core/code/map_data_render.js b/core/code/map_data_render.js index 4ce9edca7..330164535 100644 --- a/core/code/map_data_render.js +++ b/core/code/map_data_render.js @@ -457,7 +457,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 647e91a85..59ade0bd5 100644 --- a/core/code/portal_marker.js +++ b/core/code/portal_marker.js @@ -67,7 +67,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