From 7ef1fe81f6717291864e3dfddad7d91634a0a706 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 1 Aug 2021 16:48:25 +0200 Subject: [PATCH] MultiServer: move !hint point counting to end of message --- MultiServer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MultiServer.py b/MultiServer.py index 31bda43f35..42c10f2997 100644 --- a/MultiServer.py +++ b/MultiServer.py @@ -900,12 +900,12 @@ class ClientMessageProcessor(CommonCommandProcessor): """Use !hint {item_name/location_name}, for example !hint Lamp or !hint Link's House. """ points_available = get_client_points(self.ctx, self.client) if not item_or_location: - self.output(f"A hint costs {self.ctx.get_hint_cost(self.client.slot)} points. " - f"You have {points_available} points.") hints = {hint.re_check(self.ctx, self.client.team) for hint in self.ctx.hints[self.client.team, self.client.slot]} self.ctx.hints[self.client.team, self.client.slot] = hints notify_hints(self.ctx, self.client.team, list(hints)) + self.output(f"A hint costs {self.ctx.get_hint_cost(self.client.slot)} points. " + f"You have {points_available} points.") return True else: world = proxy_worlds[self.ctx.games[self.client.slot]]