Update console.cpp

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

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