summaryrefslogtreecommitdiff
path: root/chess-gnuchess.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-11 01:30:54 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-11 01:30:54 +0000
commitade1d16b2d10f470a843d7704bec88b6ef28ca00 (patch)
tree5a76db2bbdbde881f49dbb627f69910699583521 /chess-gnuchess.el
parentd88c0d8abdf4d483c99e3f5f78f73452f1129123 (diff)
more fixes to draw support
Diffstat (limited to 'chess-gnuchess.el')
-rw-r--r--chess-gnuchess.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/chess-gnuchess.el b/chess-gnuchess.el
index 2950d86..90a0613 100644
--- a/chess-gnuchess.el
+++ b/chess-gnuchess.el
@@ -92,6 +92,9 @@
(and (chess-engine-game nil)
(chess-engine-set-start-position nil)))
+ ((eq event 'draw)
+ (chess-engine-default-handler 'decline-draw))
+
((eq event 'undo)
(when (chess-engine-game nil)
(dotimes (i (car args))