projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e5fbf3
)
fix broken merge
author
adrianna
<adrianna.pinska@gmail.com>
Thu, 15 May 2014 18:28:04 +0000
(20:28 +0200)
committer
adrianna
<adrianna.pinska@gmail.com>
Thu, 15 May 2014 18:28:13 +0000
(20:28 +0200)
naja/widgets/tile.py
patch
|
blob
|
history
diff --git
a/naja/widgets/tile.py
b/naja/widgets/tile.py
index 660603603b568b5e2d20b491119fad692f85d122..26a94dad607099a8f8cd4305ccaa2908d6284406 100644
(file)
--- a/
naja/widgets/tile.py
+++ b/
naja/widgets/tile.py
@@
-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: