1.0.8.3: Restore WndProc at start of teardown so left-click works after disable

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-07 10:57:36 -05:00
parent f4912bbdb2
commit 57d1bc5c0f
5 changed files with 26 additions and 5 deletions
+3
View File
@@ -438,6 +438,9 @@ namespace HSUI
{
if (!disposing) return;
// Restore game window WndProc first so left-click works again immediately, even if teardown throws.
InputsHelper.RestoreWndProcIfNeeded();
// Stop UI callbacks first so no Draw/OpenConfigUi runs during teardown
try
{