summaryrefslogtreecommitdiff
path: root/chess-crafty.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-crafty.el')
-rw-r--r--chess-crafty.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/chess-crafty.el b/chess-crafty.el
index 880ee14..884e372 100644
--- a/chess-crafty.el
+++ b/chess-crafty.el
@@ -87,6 +87,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))