summaryrefslogtreecommitdiff
path: root/chess-gnuchess.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-gnuchess.el')
-rw-r--r--chess-gnuchess.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-gnuchess.el b/chess-gnuchess.el
index 4598020..09fe89e 100644
--- a/chess-gnuchess.el
+++ b/chess-gnuchess.el
@@ -13,7 +13,7 @@
(function
(lambda ()
(funcall chess-engine-response-handler 'move
- (chess-algebraic-to-ply position
+ (chess-algebraic-to-ply (chess-engine-position nil)
(match-string 1))))))
(cons "Illegal move:"
(function