summaryrefslogtreecommitdiff
path: root/chess-game.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-game.el')
-rw-r--r--chess-game.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/chess-game.el b/chess-game.el
index b321bd1..7e28405 100644
--- a/chess-game.el
+++ b/chess-game.el
@@ -111,8 +111,7 @@ later using the various tag-related methods)."
(unless (chess-game-tag game (car tag))
(chess-game-set-tag game (car tag) (cdr tag))))
(chess-game-add-ply game (chess-ply-create
- (or (and position
- (chess-pos-copy position))
+ (or position
(chess-pos-create))))
(if position
(chess-game-set-tag game "FEN" (chess-pos-to-fen position)))