Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
xscreach authored Jun 19, 2023
1 parent f443592 commit a04cad3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/code/map_data_render.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ window.Render.prototype.createPlaceholderPortalEntity = function(guid,latE6,lngE
var portalMoved = false;
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) {
portalMoved = latE6 !== p.options.data.latE6 || lngE6 !== p.options.data.lngE6;
if (team !== p.options.data.team) {
// team - delete existing portal
this.deletePortalEntity(guid);
}
Expand Down

0 comments on commit a04cad3

Please sign in to comment.