Fixed wrong name if no reso found
This commit is contained in:
parent
e34fd27e9e
commit
8eb65c5764
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user