hide system accounts (__ADA__, __JARVIS__, etc) from the player list in guess player levels
for #559 (and possibly another older bug?)
This commit is contained in:
parent
7165acd30e
commit
634759ea22
@ -2,7 +2,7 @@
|
||||
// @id iitc-plugin-guess-player-levels@breunigs
|
||||
// @name IITC plugin: guess player level
|
||||
// @category Info
|
||||
// @version 0.4.8.@@DATETIMEVERSION@@
|
||||
// @version 0.4.9.@@DATETIMEVERSION@@
|
||||
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
||||
// @updateURL @@UPDATEURL@@
|
||||
// @downloadURL @@DOWNLOADURL@@
|
||||
@ -110,6 +110,8 @@ window.plugin.guessPlayerLevels.guess = function() {
|
||||
var r = portal.options.details.resonatorArray.resonators;
|
||||
$.each(r, function(ind, reso) {
|
||||
if(!reso) return true;
|
||||
if(isSystemPlayer(reso.ownerGuid)) return true;
|
||||
|
||||
var lvl = localStorage['level-' + reso.ownerGuid];
|
||||
var nick = getPlayerName(reso.ownerGuid);
|
||||
if(portal.options.team === TEAM_ENL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user