Skip to content

Commit

Permalink
print level name_id
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Mar 6, 2025
1 parent b39df71 commit baa0d03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shvatka/tgbot/views/results/scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ async def publish(self):
for hint_number, hint in enumerate(self.level.scenario.time_hints):
if hint.time == 0:
text = (
f"🔒 <b>Уровень № {self.level.number_in_game + 1}</b>\n"
f"🔒 <b>Уровень № {self.level.number_in_game + 1}</b> "
f"({hd.quote(self.level.name_id)})\n"
f"Ключи уровня:\n{render_level_keys(self.level.scenario)}"
)
elif hint_number == len(self.level.scenario.time_hints) - 1:
Expand Down

0 comments on commit baa0d03

Please sign in to comment.