make guessed player levels still show "(guessed)" for level 8 - as since the introduction of jarvis virus/ada refactor it can be wrong

This commit is contained in:
Jon Atkins
2013-07-21 17:15:55 +01:00
parent dadd2b2d23
commit b0dd95e694
2 changed files with 4 additions and 5 deletions

View File

@ -2,7 +2,7 @@
// @id iitc-plugin-guess-player-levels@breunigs
// @name IITC plugin: guess player level
// @category Info
// @version 0.4.7.@@DATETIMEVERSION@@
// @version 0.4.8.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
@ -44,8 +44,7 @@ window.plugin.guessPlayerLevels.setLevelTitle = function(dom) {
var text;
if (level) {
text = 'Min player level: ' + level;
if(level < window.MAX_XM_PER_LEVEL.length - 1) text += ' (guessed)';
text = 'Min player level: ' + level + ' (guessed)';
} else {
text = 'Min player level unknown';
}