mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 07:42:12 -05:00
Automatically hide bracket if the user isn't in the tournament
This commit is contained in:
@@ -222,6 +222,8 @@
|
||||
break;
|
||||
|
||||
case 'start':
|
||||
if (!this.info.isJoined)
|
||||
this.setBoxVisibility(false);
|
||||
this.room.$chat.append("<div class=\"notice tournament-message-start\">The tournament has started!</div>");
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user