From d0f29abeabac1b1aeb2b1e483f5161ca0aea6a4e Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Thu, 18 Sep 2014 22:15:29 -0500 Subject: [PATCH] Tournaments: Support user cap --- js/client-chat-tournament.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/client-chat-tournament.js b/js/client-chat-tournament.js index 012ed3f6f..99ff5eb49 100644 --- a/js/client-chat-tournament.js +++ b/js/client-chat-tournament.js @@ -485,6 +485,10 @@ appendError("You must have a name in order to join the tournament."); break; + case 'Full': + appendError("The tournament is already at maximum capacity for users."); + break; + default: appendError("Unknown error: " + data[0]); break;