From b9d7d9ba7e8c68b1ae33a5f9cff5e5484fbbe44c Mon Sep 17 00:00:00 2001 From: Synthasmagoria Date: Wed, 9 Sep 2026 17:23:59 +0200 Subject: [PATCH] Scaling fix --- build_web.sh | 4 +++- src/web/index_template.html | 19 +++++++------------ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/build_web.sh b/build_web.sh index 9b15767..caced2e 100755 --- a/build_web.sh +++ b/build_web.sh @@ -10,8 +10,10 @@ INDEX_TEMPLATE_PATH="src/web/index_template.html" if [[ -v 1 ]]; then if [ "$1" = "DEBUG" ]; then ODIN_FLAGS="-debug" + EMCC_FLAGS="-O0" elif [ "$1" = "RELEASE" ]; then ODIN_FLAGS="-o:size" + EMCC_FLAGS="-O2" else echo "Usage: