Make action.MSB_GLYPH a function, action.get_msb_glyph.
[naja.git] / naja / widgets / tile.py
index e925674b44aae8b3440a73044c5969eefcc1b747..9e8fe8508056dae9bc61a4e93ccd547c772514d9 100644 (file)
@@ -121,9 +121,9 @@ class TileWidget(Widget):
                 img = resources.get_image(glyph, transforms=(EIGHT_BIT,))
                 self.surface.blit(img, (x_offset, y_offset + 4))
                 x_offset += img.get_width()
-            if action.MSB_GLYPH is not None:
+            if action.get_msb_glyph() is not None:
                 img = resources.get_image(
-                    action.MSB_GLYPH,
+                    action.get_msb_glyph(),
                     transforms=(EIGHT_BIT, blender(PALETTE.LIGHT_VIOLET)))
                 self.surface.blit(img, (x_offset, y_offset + 4))
                 x_offset += img.get_width()