Update console.cpp

This commit is contained in:
Federico Cecchetto 2022-05-25 21:38:06 +02:00
parent 4fa88247dc
commit fbf10c69cf

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);