diff options
Diffstat (limited to 'chess-display.el')
| -rw-r--r-- | chess-display.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chess-display.el b/chess-display.el index 0bcd022..c7cd835 100644 --- a/chess-display.el +++ b/chess-display.el @@ -290,10 +290,12 @@ See `chess-display-type' for the different kinds of displays." ((eq event 'pass) (let ((my-color (if chess-display-game - (chess-game-get-data chess-display-game 'my-color) + (chess-game-get-data chess-display-game + 'my-color) (chess-display-perspective nil)))) (if chess-display-game - (chess-game-set-data chess-display-game 'my-color (not my-color))) + (chess-game-set-data chess-display-game 'my-color + (not my-color))) (chess-display-set-perspective nil (not my-color)))) ((memq event '(move game-over resign)) |
