mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-06-18 06:31:13 +00:00
Fix --port
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user