From 68c7283a9a8cd0ac3a8a28658af2c0e8a2de65a6 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 11 Apr 2020 00:22:52 +0200 Subject: [PATCH] Reverse sort in matchmaking events --- royalpack/commands/matchmaking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalpack/commands/matchmaking.py b/royalpack/commands/matchmaking.py index 303e835b..9a5e6801 100644 --- a/royalpack/commands/matchmaking.py +++ b/royalpack/commands/matchmaking.py @@ -87,7 +87,7 @@ class MatchmakingCommand(Command): if mmevent.description: text += f"{mmevent.description}\n" text += "\n" - for response in sorted(mmevent.responses, key=lambda r: self._mmchoice_values[r.choice]): + for response in sorted(mmevent.responses, key=lambda r: -self._mmchoice_values[r.choice]): response: MMResponse text += f"{response.choice.value} {response.user}\n" return text