fix: call Music.play() on title tap to unlock iOS audio system for SFX
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user