Fix --port

This commit is contained in:
Tixx
2024-10-20 16:59:00 +02:00
parent 708da44fec
commit 4fdc3c4031
2 changed files with 1 additions and 2 deletions
-2
View File
@@ -235,7 +235,6 @@ void InitLauncher() {
CheckName(); CheckName();
LinuxPatch(); LinuxPatch();
CheckLocalKey(); CheckLocalKey();
ConfigInit();
CheckForUpdates(std::string(GetVer()) + GetPatch()); CheckForUpdates(std::string(GetVer()) + GetPatch());
} }
#elif defined(__linux__) #elif defined(__linux__)
@@ -244,7 +243,6 @@ void InitLauncher() {
info("BeamMP Launcher v" + GetVer() + GetPatch()); info("BeamMP Launcher v" + GetVer() + GetPatch());
CheckName(); CheckName();
CheckLocalKey(); CheckLocalKey();
ConfigInit();
CheckForUpdates(std::string(GetVer()) + GetPatch()); CheckForUpdates(std::string(GetVer()) + GetPatch());
} }
#endif #endif
+1
View File
@@ -41,6 +41,7 @@ int main(int argc, const char** argv) try {
GetEP(argv[0]); GetEP(argv[0]);
InitLog(); InitLog();
ConfigInit();
InitOptions(argc, argv, options); InitOptions(argc, argv, options);
InitLauncher(); InitLauncher();