From 48814611e9b638c4b2475fec129d83dcf92a889b Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Fri, 20 May 2022 03:02:17 -0700 Subject: web: dynamically allocate player bufs --- web/web_prompt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/web_prompt.c') 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.", -- cgit v1.2.3-70-g09d2