fix takeback en passant
This commit is contained in:
parent
0aab15c762
commit
a73e5c9cb6
|
@ -28,7 +28,7 @@ object Rewind {
|
||||||
turns = rewindedGame.turns,
|
turns = rewindedGame.turns,
|
||||||
positionHashes = rewindedHistory.positionHashes mkString,
|
positionHashes = rewindedHistory.positionHashes mkString,
|
||||||
castles = rewindedHistory.castleNotation,
|
castles = rewindedHistory.castleNotation,
|
||||||
lastMove = rewindedHistory.lastMove map { case (a, b) ⇒ a + " " + b },
|
lastMove = rewindedHistory.lastMove map { case (a, b) ⇒ a.toString + b.toString },
|
||||||
status =
|
status =
|
||||||
if (rewindedSituation.checkMate) Status.Mate
|
if (rewindedSituation.checkMate) Status.Mate
|
||||||
else if (rewindedSituation.staleMate) Status.Stalemate
|
else if (rewindedSituation.staleMate) Status.Stalemate
|
||||||
|
|
Loading…
Reference in a new issue