summaryrefslogtreecommitdiff
path: root/web/web_control.c
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-20 03:02:17 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-20 03:02:17 -0700
commit48814611e9b638c4b2475fec129d83dcf92a889b (patch)
tree9be976dd1e1b6fb4b43a7764aeb7797a1b13faf0 /web/web_control.c
parentea0bafa754757ddb9ca06ae1cd3c40bc4649b83a (diff)
downloaddartboat-48814611e9b638c4b2475fec129d83dcf92a889b.tar.gz
dartboat-48814611e9b638c4b2475fec129d83dcf92a889b.tar.xz
web: dynamically allocate player bufs
Diffstat (limited to 'web/web_control.c')
-rw-r--r--web/web_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/web_control.c b/web/web_control.c
index 5389a23..b0a777c 100644
--- a/web/web_control.c
+++ b/web/web_control.c
@@ -297,7 +297,7 @@ void end_match()
// clean up in case match was ended early
svg_clear_points();
prompt_set_input(NULL);
- scoreboard_set_player_active(-1);
+ scoreboard_set_player_active(0);
dom_remove_class("#key-exit", "visible");
dom_enable_exit_dialogue(false);