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