From 3b5e695bca626c0d6ca12e8c7033c9bd09dbce02 Mon Sep 17 00:00:00 2001 From: tfrere Date: Fri, 4 Sep 2026 10:55:23 +0200 Subject: [PATCH] chore: disable sound until the sound design is finished Co-authored-by: Cursor --- app/src/game/audio.js | 2 +- app/src/ui/Hud.jsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/game/audio.js b/app/src/game/audio.js index d8229b6..13e95cc 100644 --- a/app/src/game/audio.js +++ b/app/src/game/audio.js @@ -21,7 +21,7 @@ import { signed } from "./signed.js"; // point early-returns, master gain pinned to 0, context never resumed). // Node-returning helpers (busNode, createEmitter) keep building their // graph either way so callers stay untouched. -const SOUND_DISABLED = false; +const SOUND_DISABLED = true; // ── Context, master, buses ──────────────────────────────────────────── const MASTER_LEVEL = 0.9; diff --git a/app/src/ui/Hud.jsx b/app/src/ui/Hud.jsx index e06cea1..afc69bb 100644 --- a/app/src/ui/Hud.jsx +++ b/app/src/ui/Hud.jsx @@ -403,7 +403,9 @@ function Quickbar() { })} - + {/* Sound is fully disabled for now (SOUND_DISABLED in audio.js) - + the mute toggle comes back with the finished sound design. */} + {/* */} ); }