mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 07:42:12 -05:00
Merge branch 'client-overhaul'
This commit is contained in:
@@ -581,8 +581,11 @@
|
||||
self.receive(message.message);
|
||||
}
|
||||
},
|
||||
disconnect: function () {},
|
||||
nameTaken: function (data) {},
|
||||
nameTaken: function (data) {
|
||||
// Legacy -- but still how the server communicates that a
|
||||
// name is taken, so we need to support it for now.
|
||||
app.addPopup(LoginPopup, {reason: data.reason || ''});
|
||||
},
|
||||
command: function (message) {
|
||||
// Legacy
|
||||
self.trigger('response:'+message.command, message);
|
||||
|
||||
Reference in New Issue
Block a user