summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/chess-display.el b/chess-display.el
index ee8c165..f7584cd 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -653,8 +653,7 @@ Basically, it means we are playing, not editing or reviewing."
(defun chess-display-pass ()
"Pass the move to your opponent. Only valid on the first move."
(interactive)
- (if (and (chess-display-active-p)
- (= 0 (chess-display-index nil)))
+ (if (chess-display-active-p)
(chess-game-run-hooks chess-display-game 'pass)
(ding)))