Put markers in a component, add generic component update messages
This commit is contained in:
parent
e4f0a17161
commit
0338bb6f3a
7 changed files with 151 additions and 46 deletions
|
|
@ -499,6 +499,9 @@ DynMap.prototype = {
|
|||
},
|
||||
playerquit: function() {
|
||||
$(me).trigger('playerquit', [ update.playerName ]);
|
||||
},
|
||||
component: function() {
|
||||
$(me).trigger('component.' + update.ctype, [ update ]);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue