Update console.cpp

This commit is contained in:
Federico Cecchetto 2022-05-25 21:38:06 +02:00
parent 0f703a7841
commit 2a800f449b

View File

@ -269,16 +269,8 @@ namespace console
}
void post_unpack() override
{
if (game::environment::is_dedi())
{
ShowWindow(GetConsoleWindow(), SW_HIDE);
}
else
{
ShowWindow(GetConsoleWindow(), SW_SHOW);
}
SetConsoleTitle("H1-Mod");
con.kill_event = CreateEvent(NULL, TRUE, FALSE, NULL);