Fixed not being able to follow players.

This commit is contained in:
FrozenCow 2011-03-08 01:22:03 +01:00
parent b985a55b92
commit d98fe89c42

View File

@ -517,7 +517,9 @@ DynMap.prototype = {
.text(player.name) .text(player.name)
) )
.click(function(e) { .click(function(e) {
if (me.followingPlayer !== player) {
me.followPlayer(null); me.followPlayer(null);
}
me.panTo(player.location); me.panTo(player.location);
}) })
.appendTo(me.playerlist); .appendTo(me.playerlist);