mirror of
https://github.com/LCEMP/LCEMP.git
synced 2026-08-19 10:37:12 +00:00
feat: fix game exit
This commit is contained in:
parent
541584778f
commit
0ca34dfe91
|
|
@ -26,6 +26,8 @@ void CConsoleMinecraftApp::StoreLaunchData()
|
||||||
}
|
}
|
||||||
void CConsoleMinecraftApp::ExitGame()
|
void CConsoleMinecraftApp::ExitGame()
|
||||||
{
|
{
|
||||||
|
extern HWND g_hWnd;
|
||||||
|
PostMessage(g_hWnd, WM_CLOSE, 0, 0);
|
||||||
}
|
}
|
||||||
void CConsoleMinecraftApp::FatalLoadError()
|
void CConsoleMinecraftApp::FatalLoadError()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue