Update console.cpp

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

View File

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