summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chess-network.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-network.el b/chess-network.el
index d321135..244349d 100644
--- a/chess-network.el
+++ b/chess-network.el
@@ -37,8 +37,8 @@
(message "Your opponent has quit playing"))))))
(defun chess-network-perform-move ()
- (let ((move (match-string 1))
- (ply (chess-algebraic-to-ply (chess-engine-position nil) move)))
+ (let* ((move (match-string 1))
+ (ply (chess-algebraic-to-ply (chess-engine-position nil) move)))
(unless ply
(error "Could not convert engine move: %s" move))
(let ((chess-network-now-moving t))