Stop typewriter SFX when clicking Let's Go before text finishes printing
This commit is contained in:
1 parent
7e52a65102
commit
91764d2d0d
1 file changed
+1
@@ -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