Small change

This commit is contained in:
fed 2023-08-04 20:08:12 +02:00
parent 7b433545d1
commit 5b4b462b29

View File

@ -376,7 +376,10 @@ namespace console
{ {
ShowWindow(GetConsoleWindow(), SW_SHOW); ShowWindow(GetConsoleWindow(), SW_SHOW);
SetConsoleTitle("H2-Mod"); SetConsoleTitle("H2-Mod");
#ifndef DEBUG
SetConsoleCtrlHandler(console_ctrl_handler, TRUE); SetConsoleCtrlHandler(console_ctrl_handler, TRUE);
#endif
con.kill_event = CreateEvent(NULL, TRUE, FALSE, NULL); con.kill_event = CreateEvent(NULL, TRUE, FALSE, NULL);