summaryrefslogtreecommitdiff
path: root/web/dartboat_wasm.c
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-04-23 05:30:47 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-04-23 05:32:16 -0700
commit63d17a12c2a894944ab3760e9b5f3dbf6acb95b5 (patch)
tree35530ee42160e0b4dd8b0333630846501f88a4c6 /web/dartboat_wasm.c
parent71b2f13214405ec43cb1d4e55d32bd7786758e16 (diff)
downloaddartboat-63d17a12c2a894944ab3760e9b5f3dbf6acb95b5.tar.gz
dartboat-63d17a12c2a894944ab3760e9b5f3dbf6acb95b5.tar.xz
web: store user opts in browser storage
Diffstat (limited to 'web/dartboat_wasm.c')
-rw-r--r--web/dartboat_wasm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/dartboat_wasm.c b/web/dartboat_wasm.c
index 04d8825..d52f15f 100644
--- a/web/dartboat_wasm.c
+++ b/web/dartboat_wasm.c
@@ -323,5 +323,6 @@ EMSCRIPTEN_KEEPALIVE void set_delay(int delay) {
}
int main() {
+ EM_ASM(read_opts());
start_match();
}