mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 07:42:12 -05:00
/part now gives a warning during active battles
This commit is contained in:
@@ -844,6 +844,11 @@
|
||||
}
|
||||
return text; // Send the /join command through to the server.
|
||||
|
||||
case 'part':
|
||||
case 'leave':
|
||||
if (this.requestLeave && !this.requestLeave()) return false;
|
||||
return text;
|
||||
|
||||
case 'avatar':
|
||||
var parts = target.split(',');
|
||||
var avatar = parseInt(parts[0], 10);
|
||||
|
||||
Reference in New Issue
Block a user