diff --git a/app/src/ui/app.ts b/app/src/ui/app.ts index b5fc7a4..b71bf6f 100644 --- a/app/src/ui/app.ts +++ b/app/src/ui/app.ts @@ -646,7 +646,9 @@ export function startApp(options: AppOptions): void { /** Une seule vibration par fin de partie. */ function announceEnd(g: Game): void { const head = g.journal.head; - if (g.state.phase !== "over" || head === announcedEnd) { + // Pendant l'animation du dernier coup, une prise vibrerait après + // la fin et la remplacerait : on l'annonce au dessin qui suit. + if (g.state.phase !== "over" || head === announcedEnd || animating) { return; } announcedEnd = head;