fix: play SFX.boot() on user tap instead of setTimeout

This commit is contained in:
Sterling Archer committed 2026-05-31 14:04:52 -07:00
1 parent 0adbdfc106
commit 1e43dc4dce
1 file changed
+1 -1
+1 -1
View File
@@ -1152,10 +1152,10 @@ class Game {
showTitle() {
this.show('title');
SFX.boot();
this._showController(true);
const go = () => {
document.getElementById('screen-title').removeEventListener('click', go);
SFX.boot();
Music.unblock();
this.showContinueOrName();
};