fix: call Music.play() on title tap to unlock iOS audio system for SFX

This commit is contained in:
Sterling Archer
2026-05-31 14:34:40 -07:00
parent cffb5868b6
commit 7f3db5c538
+1 -1
View File
@@ -1154,8 +1154,8 @@ class Game {
this._showController(true);
const go = () => {
document.getElementById('screen-title').removeEventListener('click', go);
Music.play();
SFX.boot();
Music.unblock();
this.showContinueOrName();
};
document.getElementById('screen-title').addEventListener('click', go);