summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2004-02-25 10:41:33 +0000
committerMario Lang <mlang@delysid.org>2004-02-25 10:41:33 +0000
commitfe7033ca07740d5ab1d4187f8811ef193053799d (patch)
tree0f1e4437bf4f9325ea8eecf639fb92dd41ab8ddc
parent769a82f2afb1003863f73804542fd831063808b4 (diff)
phalanx has no "resign" commands, so only set game-data active to nil for now
-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)))))