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 5bf3c7d..321809c 100644
--- a/web/web_control.c
+++ b/web/web_control.c
@@ -211,10 +211,10 @@ void user_undo()
++state->boat_undone;
}
- scoreboard_set_player_avg(state->active_player, 0);
+ update_player_avg(state->active_player, 0);
update_player_rem(state->active_player, l->rem);
if (state->mode == M_PVC) {
- scoreboard_set_player_avg(2, 0);
+ update_player_avg(2, 0);
update_player_rem(2, state->legs[1]->rem);
}