Stop typewriter SFX when clicking Let's Go before text finishes printing
This commit is contained in:
@@ -1244,6 +1244,7 @@ class Game {
|
|||||||
);
|
);
|
||||||
|
|
||||||
document.getElementById('btn-starter-continue').onclick = () => {
|
document.getElementById('btn-starter-continue').onclick = () => {
|
||||||
|
if (this.state.twTimer) { clearInterval(this.state.twTimer); this.state.twTimer = null; }
|
||||||
this.loadQuestions(() => this.showMap());
|
this.loadQuestions(() => this.showMap());
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user