diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-29 03:30:38 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-29 03:30:38 -0700 |
commit | fbdb393ae1e2ea5d368e4dda1577a10715e26a75 (patch) | |
tree | 829940532fd9933d067a09ccff223f3c2ef6c789 /web/dartboat_wasm.c | |
parent | abc559995546eda81a51ad7d03422b5c7e09fa87 (diff) | |
download | dartboat-fbdb393ae1e2ea5d368e4dda1577a10715e26a75.tar.gz dartboat-fbdb393ae1e2ea5d368e4dda1577a10715e26a75.tar.xz |
web: clean up svg generation code
Diffstat (limited to 'web/dartboat_wasm.c')
-rw-r--r-- | web/dartboat_wasm.c | 2 |
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)}, ""); |