From d350ae5665b73e31322a44abce595fde68f33106 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 24 Apr 2002 18:27:32 +0000 Subject: deactive a game when it is drawn --- chess-common.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chess-common.el') diff --git a/chess-common.el b/chess-common.el index 167ee4d..c6ed7d8 100644 --- a/chess-common.el +++ b/chess-common.el @@ -60,6 +60,9 @@ ((eq event 'draw) (chess-message 'draw-offer-declined)) + ((eq event 'drawn) + (chess-game-set-data game 'active nil)) + ((memq event '(resign abort)) (chess-engine-send nil "new\n") (chess-engine-set-position nil)) -- cgit v1.2.3