Automatically hide bracket if the user isn't in the tournament

This commit is contained in:
小太 2013-12-22 08:45:54 +11:00
parent 4b056b7416
commit f2d3388cf2

View File

@ -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;