lichess.org
Donate

[bug] premove is not cancelled when takeback is accepted

situation:
1. PlayerA makes a blunder move (or mouseslip).
2. PlayerB responds with a move.
3. PlayerB makes an premove.
4. PlayerA asks for takeback.
5. PlayerB accepts takeback.
6. Board is returned to state before blunder move (before p. 1)
7. PlayerA makes another move.
8. PlayerB's _outdated_ premove (from p. 3) is executed. <- this is a bug.

happened to me several times in anonymous games (idk if that is important).
Well, logically, premove should do get cancelled if takeback is accepted.
Wait, so waht about Black move on point number 2? Does it execute or the game features two consecutive Black moves?
Thanks for the report, it is fixed in the next restart

This topic has been archived and can no longer be replied to.