From a9d0057b9d236792639e75c6ecd4bd5c3947cac2 Mon Sep 17 00:00:00 2001 From: Maciej Caderek Date: Thu, 21 Apr 2022 17:21:48 +0200 Subject: [PATCH] WIP --- src/player/Player.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/player/Player.ts b/src/player/Player.ts index b701b49..629d349 100644 --- a/src/player/Player.ts +++ b/src/player/Player.ts @@ -195,7 +195,7 @@ class Player { } if (this.ply > 0 && state.siteConfig.sounds) { - state.boardConfig.piecesStyle === "anarchy" + state.boardConfig.piecesStyle.includes("anarchy") ? this.playAnarchySFX(position) : this.playSFX(position); }