projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pedantic correntions
[naja.git]
/
naja
/
widgets
/
tile.py
diff --git
a/naja/widgets/tile.py
b/naja/widgets/tile.py
index 8ccb99db2671c5efdde8f0ba1de4dd7926cfdbb7..cf6f04c92d4ef498163dc1f694ff6255fca46af7 100644
(file)
--- a/
naja/widgets/tile.py
+++ b/
naja/widgets/tile.py
@@
-94,7
+94,7
@@
class TileWidget(Widget):
self.surface.blit(img, (TILE_SIZE[0] - 20, 0))
def _prepare_lock(self, action, y_offset):
- if
not action.required_bits
:
+ if
action.required_bits not in BIT_MAP
:
return 4
img_name = BIT_MAP[action.required_bits]