From a4f1e60ece6dac22c4d913fc70124873803f30ab Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Fri, 20 May 2022 01:38:05 -0700 Subject: web: add (incomplete) support for 3+ player matches --- web/web_prompt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'web/web_prompt.c') diff --git a/web/web_prompt.c b/web/web_prompt.c index c9e4f55..ad907bc 100644 --- a/web/web_prompt.c +++ b/web/web_prompt.c @@ -185,9 +185,7 @@ void prompt_end_match() void prompt_select_mode() { - dom_set_uniq_class(NULL, "visible", "[id$=-info-inner]"); - for (int pn = 1; pn < 3; ++pn) - clear_player_info(pn); + scoreboard_hide_info(); dom_set_content("#visits", NULL); set_prompt_mode(PM_SELECT_MODE); @@ -199,6 +197,7 @@ void prompt_select_mode() add_list_opt("One-player scoreboard"); add_list_opt("Two-player scoreboard"); add_list_opt("Computer vs computer"); + add_list_opt("Three-player scoreboard"); flush_list_opts(); } -- cgit v1.2.3-70-g09d2