run the name resolving process after showing the dialog - it's not automatic

This commit is contained in:
Jon Atkins 2013-05-27 03:13:34 +01:00
parent 9dc0ac4234
commit 9b8cac9e6f

View File

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @id iitc-plugin-guess-player-levels@breunigs // @id iitc-plugin-guess-player-levels@breunigs
// @name IITC plugin: guess player level // @name IITC plugin: guess player level
// @version 0.4.2.@@DATETIMEVERSION@@ // @version 0.4.3.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@ // @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@ // @downloadURL @@DOWNLOADURL@@
@ -133,6 +133,9 @@ window.plugin.guessPlayerLevels.guess = function() {
text: s, text: s,
title: 'Player levels: R' + averageR.toFixed(2) + ', E' + averageE.toFixed(2) title: 'Player levels: R' + averageR.toFixed(2) + ', E' + averageE.toFixed(2)
}); });
//run the name resolving process
resolvePlayerNames();
} }
window.plugin.guessPlayerLevels.sort = function(playerHash) { window.plugin.guessPlayerLevels.sort = function(playerHash) {