From 7e9bc2714876bc3288d356578820a22fee60dd1a Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 14 May 2014 22:07:15 +0200 Subject: [PATCH] Keep move highlighting in examine move --- naja/widgets/tile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/naja/widgets/tile.py b/naja/widgets/tile.py index 5d083cc..85f9005 100644 --- a/naja/widgets/tile.py +++ b/naja/widgets/tile.py @@ -31,7 +31,7 @@ class TileWidget(Widget): # Draw background x, y = abs(self.board_pos[0] - 2), abs(self.board_pos[1] - 2) legal_move = (self.board_pos in self.state.player.legal_moves()) - if self.state.gameboard.player_mode == MOVE and legal_move: + if self.state.gameboard.player_mode in (MOVE, EXAMINE) and legal_move: bg = resources.get_image('board/tile_available.png', transforms=(EIGHT_BIT,)) elif (x + y) % 2 == 0: -- 2.34.1