Fixed wrong name if no reso found

This commit is contained in:
Riccardo Binetti 2013-05-07 01:18:08 +02:00
parent e34fd27e9e
commit 8eb65c5764

View File

@ -71,7 +71,7 @@ window.plugin.playersResonators.findReso = function(playername) {
fakeLinkPlayer = '<a href="#" onClick="return false;">' + effectiveNick + '</a>' fakeLinkPlayer = '<a href="#" onClick="return false;">' + effectiveNick + '</a>'
s = fakeLinkPlayer + " has resonators on these portals:\n\n" + s; s = fakeLinkPlayer + " has resonators on these portals:\n\n" + s;
} else { } else {
s = fakeLinkPlayer + " has no resonators in this range\n"; s = playername + " has no resonators in this range\n";
} }
alert(s); alert(s);
} }