remove old code from obsolete nickname resolving
This commit is contained in:
parent
c4117b3c29
commit
da0e42f5c5
2
main.js
2
main.js
@ -203,8 +203,6 @@ window.DEG2RAD = Math.PI / 180;
|
|||||||
// getters/setters, but if you are careful enough, this works.
|
// getters/setters, but if you are careful enough, this works.
|
||||||
window.refreshTimeout = undefined;
|
window.refreshTimeout = undefined;
|
||||||
window.urlPortal = null;
|
window.urlPortal = null;
|
||||||
window.playersToResolve = [];
|
|
||||||
window.playersInResolving = [];
|
|
||||||
window.selectedPortal = null;
|
window.selectedPortal = null;
|
||||||
window.portalRangeIndicator = null;
|
window.portalRangeIndicator = null;
|
||||||
window.portalAccessIndicator = null;
|
window.portalAccessIndicator = null;
|
||||||
|
@ -198,7 +198,6 @@ window.plugin.playerTracker.processNewData = function(data) {
|
|||||||
// short-path if this is a new player
|
// short-path if this is a new player
|
||||||
if(!playerData || playerData.events.length === 0) {
|
if(!playerData || playerData.events.length === 0) {
|
||||||
plugin.playerTracker.stored[plrname] = {
|
plugin.playerTracker.stored[plrname] = {
|
||||||
// this always resolves, as the chat delivers this data
|
|
||||||
nick: plrname,
|
nick: plrname,
|
||||||
team: json[2].plext.team,
|
team: json[2].plext.team,
|
||||||
events: [newEvent]
|
events: [newEvent]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user