diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-15 02:45:42 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-15 02:45:42 +0000 |
| commit | e9568bd14aaeb1a78da525f1b1e2c5669317069d (patch) | |
| tree | 04fcb09177638c42e15e2a2bc6853f413c01306a /chess-common.el | |
| parent | 8e27000c6be74218671ffc92db748e07b2242b54 (diff) | |
*** no comment ***
Diffstat (limited to 'chess-common.el')
| -rw-r--r-- | chess-common.el | 5 |
1 files changed, 3 insertions, 2 deletions
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) |
