feat(audio): music off by default — sound effects only
Background music now defaults to OFF; the default experience is SFX only. Players can still enable music (santoor track) in Profile → settings. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -36,7 +36,9 @@ class SoundManager {
|
|||||||
private step = 0;
|
private step = 0;
|
||||||
|
|
||||||
sfxEnabled = loadBool(LS_SFX);
|
sfxEnabled = loadBool(LS_SFX);
|
||||||
musicEnabled = loadBool(LS_MUSIC);
|
// Music is OFF by default — the default experience is sound effects only.
|
||||||
|
// Players can switch background music on in Profile → settings.
|
||||||
|
musicEnabled = loadBool(LS_MUSIC, false);
|
||||||
musicTrack: MusicTrack =
|
musicTrack: MusicTrack =
|
||||||
(typeof window !== "undefined" && (localStorage.getItem(LS_TRACK) as MusicTrack)) || "santoor";
|
(typeof window !== "undefined" && (localStorage.getItem(LS_TRACK) as MusicTrack)) || "santoor";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user