Cleaned up join/quit messages (not being send as chat messages)
This commit is contained in:
parent
be1424ec14
commit
542bda59d4
6 changed files with 47 additions and 26 deletions
|
|
@ -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 ]);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue