diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-20 01:38:05 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-20 01:38:05 -0700 |
commit | a4f1e60ece6dac22c4d913fc70124873803f30ab (patch) | |
tree | 405793459509a17f37a1223196b9deaf71514ba7 /web/web_prompt.c | |
parent | 2886add52aeed172289f3bddd995eda0b0c92a67 (diff) | |
download | dartboat-a4f1e60ece6dac22c4d913fc70124873803f30ab.tar.gz dartboat-a4f1e60ece6dac22c4d913fc70124873803f30ab.tar.xz |
web: add (incomplete) support for 3+ player matches
Diffstat (limited to 'web/web_prompt.c')
-rw-r--r-- | web/web_prompt.c | 5 |
1 files changed, 2 insertions, 3 deletions
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(); } |