This commit is contained in:
Maciej Caderek
2022-04-21 17:21:48 +02:00
parent 8c7a977b5f
commit a9d0057b9d

View File

@@ -195,7 +195,7 @@ class Player {
} }
if (this.ply > 0 && state.siteConfig.sounds) { if (this.ply > 0 && state.siteConfig.sounds) {
state.boardConfig.piecesStyle === "anarchy" state.boardConfig.piecesStyle.includes("anarchy")
? this.playAnarchySFX(position) ? this.playAnarchySFX(position)
: this.playSFX(position); : this.playSFX(position);
} }