summaryrefslogtreecommitdiff
path: root/chess-none.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-none.el')
-rw-r--r--chess-none.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/chess-none.el b/chess-none.el
index 5494cf1..104d524 100644
--- a/chess-none.el
+++ b/chess-none.el
@@ -12,9 +12,10 @@ This is only useful when two humans are playing each other, in which
case this engine will do the job of accepting undos, handling
resignations, etc."
(cond
+ ((eq event 'initialize) t)
+
((memq event '(resign abort))
- (chess-engine-set-position nil)
- t)
+ (chess-engine-set-position nil))
((eq event 'undo)
(chess-game-undo chess-engine-game (car args)))))