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