[guess-player-levels] fix accidentally commited code
This commit is contained in:
parent
5ccc42245b
commit
819762451d
@ -260,10 +260,10 @@ window.plugin.guessPlayerLevels.extractChatData = function(data) {
|
||||
var portals = {};
|
||||
attackData[nick][timestamp].forEach(function(portal) {
|
||||
// no GUID in the data any more - but we need some unique string. use the latE6,lngE6
|
||||
markup[1].latE6+","+markup[1].lngE6;
|
||||
if(portals.hasOwnProperty(portal.guid))
|
||||
var id = portal.latE6+","+portal.lngE6;
|
||||
if(portals.hasOwnProperty(id))
|
||||
return;
|
||||
portals[portal.guid] = 1;
|
||||
portals[id] = 1;
|
||||
latlngs.push({x: portal.lngE6/1E6, y:portal.latE6/1E6});
|
||||
});
|
||||
if(latlngs.length < 2) // we need at least 2 portals to calculate burster range
|
||||
|
Loading…
x
Reference in New Issue
Block a user