Skip to content

Commit

Permalink
fixup! implement new portal data check in marker
Browse files Browse the repository at this point in the history
  • Loading branch information
le-jeu committed Feb 15, 2021
1 parent 10cafe2 commit ad7e799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/code/portal_marker.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ L.PortalMarker = L.CircleMarker.extend({

// we got more details
if (this._details.timestamp == details.timestamp) {
[mods, resonators, owner, artifactDetail, history].forEach(function (prop) {
["mods", "resonators", "owner", "artifactDetail", "history"].forEach(function (prop) {
if (details[prop]) this._details[prop] = details[prop];
});
// LEGACY - TO BE REMOVED AT SOME POINT! use .guid, .timestamp and .data instead
Expand Down

0 comments on commit ad7e799

Please sign in to comment.