Use location bit glyphs in action text.
[naja.git] / naja / widgets / info_area.py
index 0022b7351868c37efe0d0701c193ecc3a4c75502..2f75a635b3bb9096f329204020476174aabd123f 100644 (file)
@@ -86,7 +86,7 @@ class InfoAreaWidget(Widget):
         text_colour = PALETTE.BLACK if action_viable else PALETTE.GREY
 
         text = TextBoxWidget(
-            (x_offset, y_offset), action.get_text(),
+            (x_offset, y_offset), action.get_text(self.card),
             box_width=(INFO_SIZE[0] - 16) // EIGHT_BIT_SCALE,
             fontsize=28, colour=text_colour)
         text.render(self.surface)