fix broken merge
authoradrianna <adrianna.pinska@gmail.com>
Thu, 15 May 2014 18:28:04 +0000 (20:28 +0200)
committeradrianna <adrianna.pinska@gmail.com>
Thu, 15 May 2014 18:28:13 +0000 (20:28 +0200)
naja/widgets/tile.py

index 660603603b568b5e2d20b491119fad692f85d122..26a94dad607099a8f8cd4305ccaa2908d6284406 100644 (file)
@@ -41,7 +41,7 @@ class TileWidget(Widget):
 
         legal_move = (self.board_pos in self.state.player.legal_moves())
 
-        if self.state.gameboard.player_mode in (MOVE, EXAMINE) and legal_move:
+        if self.state.gameboard.player_mode == EXAMINE and legal_move:
             overlays.append(resources.get_image('board/tile_available.png',
                                      transforms=(EIGHT_BIT,)))
         if self.highlighted: