From 32ec60d5b2c0b3e32b2bb705d7def79f58741940 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Wed, 18 Jan 2023 15:47:30 +0900 Subject: [PATCH] Attempt (again) to fix first-load bug --- wasm_build/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/wasm_build/Makefile b/wasm_build/Makefile index bb1e1ed..8bfea4e 100644 --- a/wasm_build/Makefile +++ b/wasm_build/Makefile @@ -50,6 +50,7 @@ all: | format ${OUTDIR} ${OUTDIR}/rock_paper_scissors_duel.html ${OUTDIR}/index. ${OUTDIR}/rock_paper_scissors_duel.html: ${SOURCES} ${HEADERS} ${OUTDIR}/client.js ${OUTDIR}/logic.js ${CXX} -o ${OUTDIR}/rock_paper_scissors_duel.html \ + -s BINARYEN_ASYNC_COMPILATION=0 \ -s USE_GLFW=3 -I../wasm_includes -L../wasm_libs -lraylib \ --shell-file custom_shell.html \ -sEXPORTED_FUNCTIONS=_main,_game_visual_update \ -- 2.49.0