if (sfxVolumeRange.value)

This commit is contained in:
2026-03-12 03:13:28 +01:00
parent 6706d60086
commit 56ed3b5c13

View File

@@ -316,6 +316,7 @@ class Stats {
}
// Sounds
if (sfxVolumeRange.value) {
if (clearedLines == 4 || (tSpin && clearedLines)) {
if (this.b2b >= 1) switch(this.b2b) {
case 1: playSound(btb_1); break
@@ -361,6 +362,7 @@ class Stats {
if (clearedLines) playSound(clearspin);
else playSound(spin);
} else if (clearedLines) playSound(clearline);
}
this.goal -= awardedLineClears;
if (this.goal <= 0) this.level++;