Fixes for alias/nicknames in web UI (esp handling player icons),
HeroChat fixes
This commit is contained in:
parent
b108cad2d3
commit
06785be5f3
9 changed files with 57 additions and 17 deletions
|
|
@ -12,7 +12,8 @@ componentconstructors['chat'] = function(dynmap, configuration) {
|
|||
$(dynmap).bind('worldupdate', function(event, update) {
|
||||
swtch(update.type, {
|
||||
chat: function() {
|
||||
$(dynmap).trigger('chat', [{source: update.source, name: update.playerName, text: update.message}]);
|
||||
$(dynmap).trigger('chat', [{source: update.source, name: update.playerName, text: update.message, account: update.account,
|
||||
channel: update.channel}]);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue