From cd53b65c1dae595bf07e6b6cf211a94e945f1f58 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 12 Apr 2002 23:08:08 +0000 Subject: *** no comment *** --- chess-engine.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chess-engine.el') diff --git a/chess-engine.el b/chess-engine.el index b097fe3..f90c504 100644 --- a/chess-engine.el +++ b/chess-engine.el @@ -120,7 +120,9 @@ (format "Do you wish to play a chess game against an anonymous opponent? "))) (progn (let ((chess-engine-handling-event t)) - (chess-game-set-data game 'active t)) + (unless game + (setq game (chess-engine-set-game nil (chess-game-create)))) + (chess-engine-set-start-position nil)) (chess-engine-command nil 'accept)) (chess-engine-command nil 'decline))) t) -- cgit v1.2.3