mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 15:22:35 -05:00
Tournaments: Support replace message (#1321)
This commit is contained in:
@@ -308,6 +308,10 @@
|
||||
this.$lastJoinLeaveMessage.text(message.join("; ") + ".");
|
||||
break;
|
||||
|
||||
case 'replace':
|
||||
this.room.$chat.append("<div class=\"notice\">" + BattleLog.escapeHTML(data[1]) + " has joined the tournament, replacing " + BattleLog.escapeHTML(data[0]) + ".</div>");
|
||||
break;
|
||||
|
||||
case 'start':
|
||||
this.room.closeNotification('tournament-create');
|
||||
if (!this.info.isJoined) {
|
||||
|
||||
Reference in New Issue
Block a user