Cleaned up join/quit messages (not being send as chat messages)

This commit is contained in:
FrozenCow 2011-04-05 22:58:46 +02:00
parent be1424ec14
commit 542bda59d4
6 changed files with 47 additions and 26 deletions

View file

@ -375,6 +375,12 @@ DynMap.prototype = {
swtch(update.type, {
tile: function() {
me.onTileUpdated(update.name);
},
playerjoin: function() {
$(me).trigger('playerjoin', [ update.playerName ]);
},
playerquit: function() {
$(me).trigger('playerquit', [ update.playerName ]);
}
});
}