check fix

This commit is contained in:
Anonymous275
2020-11-14 23:26:59 +02:00
parent db3f7b9988
commit 5753ebb887
7 changed files with 36 additions and 42 deletions

View File

@@ -181,7 +181,7 @@ void InitLauncher(int argc, char* argv[]) {
SetConsoleTitleA((Sec("BeamMP Launcher v") + std::string(GetVer()) + GetPatch()).c_str());
InitLog();
CheckName(argc, argv);
FindDLL(argv);
FindDLL(argv[0]);
SecurityCheck(argv);
Discord_Main();
RequestRole();