summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chess-engine.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-engine.el b/chess-engine.el
index 380803d..b097fe3 100644
--- a/chess-engine.el
+++ b/chess-engine.el
@@ -119,7 +119,8 @@
(car args))
(format "Do you wish to play a chess game against an anonymous opponent? ")))
(progn
- (chess-game-set-data game 'active t)
+ (let ((chess-engine-handling-event t))
+ (chess-game-set-data game 'active t))
(chess-engine-command nil 'accept))
(chess-engine-command nil 'decline)))
t)