diff --git a/client/analysisCtrl.ts b/client/analysisCtrl.ts index b6b6856df..e5493a625 100644 --- a/client/analysisCtrl.ts +++ b/client/analysisCtrl.ts @@ -1020,6 +1020,8 @@ export class AnalysisController extends GameController { }, }); + if (msg.check) sound.check(); + if (this.variant.ui.showCheckCounters) { this.updateCheckCounters(this.fullfen); } diff --git a/client/gameCtrl.ts b/client/gameCtrl.ts index 16d64c493..810f0eb7e 100644 --- a/client/gameCtrl.ts +++ b/client/gameCtrl.ts @@ -351,6 +351,7 @@ export abstract class GameController extends ChessgroundController implements Ch if (ply === this.ply + 1) { sound.moveSound(this.variant, capture); + if (step.check) sound.check(); } this.ply = ply