Skip to content

Commit

Permalink
Fix tuples showing in !gamestats / !mystats for special roles, fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jan 26, 2024
1 parent 6d59a63 commit f2e1213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def get_player_totals(acc):
#ordered role stats
totals = [messages["db_role_games"].format(r, *tmp[r]) for r in order if r in tmp]
#lover or any other special stats
totals += [messages["db_role_games"].format(r, t) for r, t in tmp.items() if r not in order]
totals += [messages["db_role_games"].format(r, *t) for r, t in tmp.items() if r not in order]
count_games = _countable_games(peid)
if count_games == 0:
wonp = 1
Expand Down

0 comments on commit f2e1213

Please sign in to comment.