summaryrefslogtreecommitdiff
path: root/chess-gnuchess.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-09 00:21:17 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-09 00:21:17 +0000
commit857af45023d64bf66c6c62a3054df240ff64e292 (patch)
tree09f3a8bc2843c12c36406d6be9affdc3b7561d4d /chess-gnuchess.el
parent59c419ce027c0da05a7aebd3a383eef3ccf7b70c (diff)
*** no comment ***
Diffstat (limited to 'chess-gnuchess.el')
-rw-r--r--chess-gnuchess.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/chess-gnuchess.el b/chess-gnuchess.el
index 373cac8..1d87173 100644
--- a/chess-gnuchess.el
+++ b/chess-gnuchess.el
@@ -88,8 +88,9 @@
(unless chess-gnuchess-now-moving
(chess-engine-send nil (concat (chess-ply-to-algebraic (car args))
"\n"))
- (if chess-gnuchess-bad-board
- (chess-engine-send nil "go\n"))))))
+ (when chess-gnuchess-bad-board
+ (chess-engine-send nil "go\n")
+ (setq chess-gnuchess-bad-board nil))))))
(provide 'chess-gnuchess)