Skip to content

Commit 2db4a7d

Browse files
Synchronize changes from 1.6 master branch [ci skip]
250caae Hide game window on quit to make it look instant (PR #4253) 39da3f0 Visual Studio Update
2 parents 64f1ab5 + 250caae commit 2db4a7d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Client/core/CCore.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,6 +1452,9 @@ void CCore::Quit(bool bInstantly)
14521452

14531453
WatchDogBeginSection("Q0"); // Allow loader to detect freeze on exit
14541454

1455+
// Hide game window to make quit look instant
1456+
ShowWindow(GetHookedWindow(), SW_HIDE);
1457+
14551458
// Destroy the client
14561459
CModManager::GetSingleton().Unload();
14571460

0 commit comments

Comments
 (0)