mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-02-16 02:30:44 +00:00
Fix --port
This commit is contained in:
@@ -235,7 +235,6 @@ void InitLauncher() {
|
||||
CheckName();
|
||||
LinuxPatch();
|
||||
CheckLocalKey();
|
||||
ConfigInit();
|
||||
CheckForUpdates(std::string(GetVer()) + GetPatch());
|
||||
}
|
||||
#elif defined(__linux__)
|
||||
@@ -244,7 +243,6 @@ void InitLauncher() {
|
||||
info("BeamMP Launcher v" + GetVer() + GetPatch());
|
||||
CheckName();
|
||||
CheckLocalKey();
|
||||
ConfigInit();
|
||||
CheckForUpdates(std::string(GetVer()) + GetPatch());
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -41,6 +41,7 @@ int main(int argc, const char** argv) try {
|
||||
GetEP(argv[0]);
|
||||
|
||||
InitLog();
|
||||
ConfigInit();
|
||||
InitOptions(argc, argv, options);
|
||||
InitLauncher();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user