summaryrefslogtreecommitdiff
path: root/chess-engine.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-engine.el')
-rw-r--r--chess-engine.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-engine.el b/chess-engine.el
index 21109e1..4374879 100644
--- a/chess-engine.el
+++ b/chess-engine.el
@@ -151,7 +151,7 @@
((eq event 'resign)
(when game
(message "Your opponent has resigned")
- (chess-game-resign game)
+ (chess-game-end game :resign)
(chess-game-set-data game 'active nil)
t))