summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-29 05:12:05 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-29 05:12:05 -0400
commita89c8947fefb2ad71290789d0c152cc0af440c5c (patch)
treec22467c7a2e8602c3a7bb4ddaa5d6621f157e588
parentaa10b717c4ece5b8eaa2100eb603576c9fb44157 (diff)
Only paint a move after it's been made.
-rw-r--r--chess-display.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-display.el b/chess-display.el
index d2d273d..9b421e9 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -366,8 +366,8 @@ If only START is given, it must be in algebraic move notation."
(chess-error 'game-is-over)))
(if (= chess-display-index (chess-game-index chess-module-game))
(let ((chess-display-handling-event t))
- (chess-display-paint-move nil ply)
(chess-game-move chess-module-game ply)
+ (chess-display-paint-move nil ply)
(chess-display-set-index* nil (chess-game-index chess-module-game)))
;; jww (2002-03-28): This should beget a variation within the
;; game, or alter the game, just as SCID allows