From 38de4a22b6895868749269f11bdeaac98ab2d5a3 Mon Sep 17 00:00:00 2001 From: Alex Noir Date: Wed, 8 Nov 2023 02:25:08 +0300 Subject: [PATCH] save last_ic_message only *after* the command is sent --- server/area.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/area.py b/server/area.py index ff60e974..09c18792 100644 --- a/server/area.py +++ b/server/area.py @@ -2144,13 +2144,13 @@ def play_demo(self, client): return elif len(client.broadcast_list) > 0: for area in client.broadcast_list: + area.send_command(header, *args) if header == "MS": area.last_ic_message = tuple(args) - area.send_command(header, *args) else: + self.send_command(header, *args) if header == "MS": self.last_ic_message = tuple(args) - self.send_command(header, *args) # Proceed to next demo line self.play_demo(client)