there was no code to color the star of a track with warning (???)

This commit is contained in:
Faraphel 2021-10-25 12:55:17 +02:00
parent 0f1e25d941
commit 944dd5f6e7

View file

@ -148,7 +148,7 @@ class Track:
if self.score:
if 0 < self.score <= 3:
star_text = "" * self.score + "" * (3 - self.score)
star_text = "" * self.score + "" * (3 - self.score) + "!" * getattr(self, "warning", 0)
star_text = trackname_color[star_text] + " "
if self.since_version == highlight_version: