Move console clear to main to avoid clearing logs

This commit is contained in:
Tixx
2024-09-22 23:57:26 +02:00
parent aca61886d0
commit 06686688fc
2 changed files with 6 additions and 2 deletions

View File

@@ -223,7 +223,6 @@ void LinuxPatch() {
#if defined(_WIN32)
void InitLauncher() {
system("cls");
SetConsoleTitleA(("BeamMP Launcher v" + std::string(GetVer()) + GetPatch()).c_str());
InitLog();
CheckName();
@@ -235,7 +234,6 @@ void InitLauncher() {
#elif defined(__linux__)
void InitLauncher() {
system("clear");
InitLog();
info("BeamMP Launcher v" + GetVer() + GetPatch());
CheckName();