From da0e42f5c5dc392bbdff33fcc3d3e3996070b872 Mon Sep 17 00:00:00 2001 From: fkloft Date: Sun, 5 Oct 2014 22:29:42 +0200 Subject: [PATCH] remove old code from obsolete nickname resolving --- main.js | 2 -- plugins/player-tracker.user.js | 1 - 2 files changed, 3 deletions(-) diff --git a/main.js b/main.js index b42c9bb7..ce44a6c4 100644 --- a/main.js +++ b/main.js @@ -203,8 +203,6 @@ window.DEG2RAD = Math.PI / 180; // getters/setters, but if you are careful enough, this works. window.refreshTimeout = undefined; window.urlPortal = null; -window.playersToResolve = []; -window.playersInResolving = []; window.selectedPortal = null; window.portalRangeIndicator = null; window.portalAccessIndicator = null; diff --git a/plugins/player-tracker.user.js b/plugins/player-tracker.user.js index 17f8d9fc..5816eb95 100644 --- a/plugins/player-tracker.user.js +++ b/plugins/player-tracker.user.js @@ -198,7 +198,6 @@ window.plugin.playerTracker.processNewData = function(data) { // short-path if this is a new player if(!playerData || playerData.events.length === 0) { plugin.playerTracker.stored[plrname] = { - // this always resolves, as the chat delivers this data nick: plrname, team: json[2].plext.team, events: [newEvent]