From fbdb393ae1e2ea5d368e4dda1577a10715e26a75 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Fri, 29 Apr 2022 03:30:38 -0700 Subject: web: clean up svg generation code --- web/dartboat_wasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/dartboat_wasm.c') 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)}, ""); -- cgit v1.2.3-70-g09d2