summaryrefslogtreecommitdiff
path: root/web/dartboat_wasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'web/dartboat_wasm.c')
-rw-r--r--web/dartboat_wasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/dartboat_wasm.c b/web/dartboat_wasm.c
index 48c16b1..e7f0415 100644
--- a/web/dartboat_wasm.c
+++ b/web/dartboat_wasm.c
@@ -177,7 +177,7 @@ EMSCRIPTEN_KEEPALIVE void draw_boat_throwing(int pts, char *str, double x, doubl
void handle_next();
EMSCRIPTEN_KEEPALIVE void end_boat_visit(int rem, double avg)
{
- EM_ASM(clearPoints());
+ EM_ASM(svgClearPoints());
update_player_rem(2, rem);
EM_ASM({updatePlayerAvg($0, $1)}, 2, avg);
EM_ASM({setPromptInput($0)}, "");