summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/dartboat_wasm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/dartboat_wasm.c b/web/dartboat_wasm.c
index 0e59312..ede1b59 100644
--- a/web/dartboat_wasm.c
+++ b/web/dartboat_wasm.c
@@ -328,6 +328,8 @@ EMSCRIPTEN_KEEPALIVE void start_match() {
EM_ASM({updatePlayerName($0, $1)}, P_BOAT, state->l2->name);
update_user_rem(state->l1->rem);
update_boat_rem(state->l2->rem);
+ EM_ASM({updatePlayerAvg($0, $1)}, P_USER, 0);
+ EM_ASM({updatePlayerAvg($0, $1)}, P_BOAT, 0);
EM_ASM(clearVisits());
set_user_active();