summaryrefslogtreecommitdiff
path: root/web/web_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'web/web_control.c')
-rw-r--r--web/web_control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/web_control.c b/web/web_control.c
index 321809c..0c2d4bd 100644
--- a/web/web_control.c
+++ b/web/web_control.c
@@ -118,7 +118,7 @@ void handle_next()
{
if (!state) {
prompt_select_mode();
- } else if (is_match_over()) {
+ } else if (match_is_over()) {
if (state->num_darts ||
(state->mode == M_PVC && state->legs[1]->rem <= 0))
prompt_end_match();
@@ -194,7 +194,7 @@ void user_undo()
if (state->mode == M_PVC) {
set_active_player(1);
} else if (state->mode == M_PVP) {
- if (is_match_over())
+ if (match_is_over())
set_active_player(state->active_player);
else
toggle_active_player();