diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 44997ce0d..c07a24789 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -2001,7 +2001,7 @@ int main(int argc, const char **argv) // ignore_convention { if(str_comp("-s", argv[i]) == 0 || str_comp("--silent", argv[i]) == 0) // ignore_convention { - ShowWindow(GetConsoleWindow(), SW_HIDE); + FreeConsole(); break; } }