From fd208346228a1ba5dd378109e6ac4f8d0c38876a Mon Sep 17 00:00:00 2001 From: xscreach Date: Thu, 20 Jul 2023 04:30:23 +0200 Subject: [PATCH] fix jumpy portals on ghostlinks --- core/code/map_data_render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/code/map_data_render.js b/core/code/map_data_render.js index 1a2c7e3ac..72f25b303 100644 --- a/core/code/map_data_render.js +++ b/core/code/map_data_render.js @@ -261,7 +261,7 @@ window.Render.prototype.createPlaceholderPortalEntity = function (guid, latE6, l if (guid in window.portals) { var p = window.portals[guid]; portalMoved = latE6 !== p.options.data.latE6 || lngE6 !== p.options.data.lngE6; - if (team !== p.options.data.team) { + if (team !== p.options.data.team && p.options.timestamp < timestamp) { // team - delete existing portal this.deletePortalEntity(guid); }