From debda5d11149d18a5a278c2704f0ab7959e95344 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 9 Aug 2022 06:21:05 +0200 Subject: [PATCH] MultiServer: swap auto-forfeit with auto-collect order That way the forfeit for items for players that are still playing appear last in the log, which is the visible text in at least the py clients --- MultiServer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MultiServer.py b/MultiServer.py index 3e502f64..8a1844bf 100644 --- a/MultiServer.py +++ b/MultiServer.py @@ -579,12 +579,12 @@ class Context: finished_msg = f'{self.get_aliased_name(client.team, client.slot)} (Team #{client.team + 1})' \ f' has completed their goal.' self.notify_all(finished_msg) + if "auto" in self.collect_mode: + collect_player(self, client.team, client.slot) if "auto" in self.forfeit_mode: forfeit_player(self, client.team, client.slot) elif self.forced_auto_forfeits[self.games[client.slot]]: forfeit_player(self, client.team, client.slot) - if "auto" in self.collect_mode: - collect_player(self, client.team, client.slot) def notify_hints(ctx: Context, team: int, hints: typing.List[NetUtils.Hint], only_new: bool = False):