From 913e9e0781e03565cdfccd26783a1c3d354d284a Mon Sep 17 00:00:00 2001 From: lopezloo <7338099+lopezloo@users.noreply.github.com> Date: Thu, 12 Jun 2025 21:38:06 +0200 Subject: [PATCH] Hide game window on quit to make it look instant --- Client/core/CCore.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Client/core/CCore.cpp b/Client/core/CCore.cpp index b472894302..910912dbc5 100644 --- a/Client/core/CCore.cpp +++ b/Client/core/CCore.cpp @@ -1452,6 +1452,9 @@ void CCore::Quit(bool bInstantly) WatchDogBeginSection("Q0"); // Allow loader to detect freeze on exit + // Hide game window to make quit look instant + ShowWindow(GetHookedWindow(), SW_HIDE); + // Destroy the client CModManager::GetSingleton().Unload();