diff --git a/app/views/round/table/playing.scala.html b/app/views/round/table/playing.scala.html index 4a39bc367d..04a5d458ee 100644 --- a/app/views/round/table/playing.scala.html +++ b/app/views/round/table/playing.scala.html @@ -33,7 +33,7 @@ @trans.forceDraw() } -@if(game.turnOf(player) && game.toChessHistory.threefoldRepetition) { +@if(game.toChessHistory.threefoldRepetition) {
@trans.threefoldRepetition().  @trans.claimADraw() diff --git a/modules/round/src/main/Drawer.scala b/modules/round/src/main/Drawer.scala index 6244d6204b..979a8f0d2d 100644 --- a/modules/round/src/main/Drawer.scala +++ b/modules/round/src/main/Drawer.scala @@ -35,10 +35,7 @@ private[round] final class Drawer(messenger: Messenger, finisher: Finisher) { } def claim(pov: Pov): Fu[Events] = - (pov.game.playable && - pov.game.player.color == pov.color && - pov.game.toChessHistory.threefoldRepetition - ) ?? finisher(pov.game, _.Draw) + (pov.game.playable && pov.game.toChessHistory.threefoldRepetition) ?? finisher(pov.game, _.Draw) def force(game: Game): Fu[Events] = finisher(game, _.Draw, None, None) }