summaryrefslogtreecommitdiff
path: root/chess-engine.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-engine.el')
-rw-r--r--chess-engine.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-engine.el b/chess-engine.el
index 5f5292f..090332e 100644
--- a/chess-engine.el
+++ b/chess-engine.el
@@ -251,7 +251,8 @@
t))
((eq event 'illegal)
- (chess-message 'opp-illegal))
+ (chess-message 'opp-illegal)
+ (chess-game-undo game 1))
((eq event 'call-flag)
;; jww (2002-04-21): what to do here?