if (sfxVolumeRange.value)
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user