forked from c0de/BaseballBot
Change order_by for players points
This commit is contained in:
parent
1f9e58273b
commit
2c1aaf82e0
@ -27,7 +27,7 @@ class PointsManager(BaseGameManager):
|
|||||||
|
|
||||||
players = Player.select(
|
players = Player.select(
|
||||||
Player.player_name, Player.total_points, Player.last_update
|
Player.player_name, Player.total_points, Player.last_update
|
||||||
).order_by(Player.last_update.desc(), Player.total_points.desc())
|
).order_by(Player.total_points.desc())
|
||||||
|
|
||||||
for player in players:
|
for player in players:
|
||||||
message += (
|
message += (
|
||||||
|
Loading…
Reference in New Issue
Block a user