Skip to content

Commit

Permalink
save last_ic_message only *after* the command is sent
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystalwarrior committed Nov 7, 2023
1 parent a16a005 commit 38de4a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/area.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 38de4a2

Please sign in to comment.