From e9568bd14aaeb1a78da525f1b1e2c5669317069d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 15 Apr 2002 02:45:42 +0000 Subject: *** no comment *** --- chess-common.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chess-common.el') diff --git a/chess-common.el b/chess-common.el index f468dca..5d8ae19 100644 --- a/chess-common.el +++ b/chess-common.el @@ -77,8 +77,9 @@ (chess-game-undo chess-engine-game (car args)))) ((eq event 'move) - (chess-engine-send nil (concat (chess-ply-to-algebraic (car args)) - "\n"))))) + (chess-engine-send nil (concat (chess-ply-to-algebraic (car args)) "\n")) + (if (chess-game-over-p chess-engine-game) + (chess-game-set-data chess-engine-game 'active nil))))) (provide 'chess-common) -- cgit v1.2.3