From 1d94fe98824711753cf8621fdc17bfac474dae6b Mon Sep 17 00:00:00 2001 From: Justin Baugh Date: Sun, 22 Sep 2024 12:48:32 -0700 Subject: [PATCH] actually close sessions when closed --- hybrasyl/Subsystems/Dialogs/AsyncDialogSession.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hybrasyl/Subsystems/Dialogs/AsyncDialogSession.cs b/hybrasyl/Subsystems/Dialogs/AsyncDialogSession.cs index 42327884..a398cf97 100644 --- a/hybrasyl/Subsystems/Dialogs/AsyncDialogSession.cs +++ b/hybrasyl/Subsystems/Dialogs/AsyncDialogSession.cs @@ -142,6 +142,7 @@ public void CloseSource() sourceClosed = true; user.ActiveDialogSession = null; user.ClearDialogState(); + user.SendCloseDialog(); } public void CloseTarget() @@ -149,6 +150,7 @@ public void CloseTarget() targetClosed = true; Target.ActiveDialogSession = null; Target.ClearDialogState(); + Target.SendCloseDialog(); } public void Close()