summaryrefslogtreecommitdiff
path: root/web/web_prompt.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_prompt.c
parentea0bafa754757ddb9ca06ae1cd3c40bc4649b83a (diff)
downloaddartboat-48814611e9b638c4b2475fec129d83dcf92a889b.tar.gz
dartboat-48814611e9b638c4b2475fec129d83dcf92a889b.tar.xz
web: dynamically allocate player bufs
Diffstat (limited to 'web/web_prompt.c')
-rw-r--r--web/web_prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/web_prompt.c b/web/web_prompt.c
index ad907bc..f7bfe8d 100644
--- a/web/web_prompt.c
+++ b/web/web_prompt.c
@@ -169,7 +169,7 @@ void prompt_num_darts()
void prompt_end_match()
{
- scoreboard_set_player_active(-1);
+ scoreboard_set_player_active(0);
char buf[64];
sprintf(buf, "%s wins.",