speak when nbClearedLines > 1
This commit is contained in:
@@ -183,7 +183,7 @@ class Stats {
|
||||
|
||||
if (this.speechSynthesisAvailable && this.settings.sfxVolume) {
|
||||
if (tSpin) this.speak(tSpin, this.settings.sfxVolume);
|
||||
if (nbClearedLines) this.speak(CLEARED_LINES_NAMES[nbClearedLines], this.settings.sfxVolume);
|
||||
if (nbClearedLines > 1) this.speak(CLEARED_LINES_NAMES[nbClearedLines], this.settings.sfxVolume);
|
||||
}
|
||||
|
||||
this.goal -= awardedLineClears
|
||||
|
||||
Reference in New Issue
Block a user