summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chess-phalanx.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/chess-phalanx.el b/chess-phalanx.el
index 3353b67..57a065e 100644
--- a/chess-phalanx.el
+++ b/chess-phalanx.el
@@ -38,6 +38,9 @@
chess-engine-opponent-name "Phalanx")
t)))
+ ((eq event 'resign)
+ (chess-game-set-data game 'active nil))
+
(t
(apply 'chess-common-handler game event args)))))