Skip to content

Commit

Permalink
fix(theater): Always show const as unknown if chara type is not normal
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Jul 7, 2024
1 parent ba4a54a commit 550cb59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hoyo_buddy/draw/funcs/hoyo/genshin/img_theater.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ def _draw_act_block(self, act: genshin.models.Act, pos: tuple[int, int]) -> None

block.paste(const_flair, (92, 0), const_flair)
block_drawer.write(
str(self._chara_consts.get(character.id, "?")),
str(self._chara_consts.get(character.id, "?"))
if character.type is genshin.models.TheaterCharaType.NORMAL
else "?",
size=18,
position=(107, 15),
anchor="mm",
Expand Down

0 comments on commit 550cb59

Please sign in to comment.