correct usage of format_score_string. Make format of view message better.

This commit is contained in:
2023-03-11 15:12:36 -05:00
parent 9c762fb346
commit 37b4d2d62e
2 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ def format_highscore_message(session: Session, group: CategoryGroup) -> str:
score = processed_group["Score"][ind]
str_list[ind + 1] += format_score_string(
username, score, group.UsernameLength, group.IsTimeRecord, ind + 1, pad_length
username, score, group.UsernameLength, category.IsTimeRecord, ind + 1, pad_length
)
else:
# if not enough entries, pad out