mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-02-16 10:40:46 +00:00
final hotfix
This commit is contained in:
@@ -28,13 +28,12 @@ std::string GetGamePath(){
|
||||
|
||||
if(Path.empty()){
|
||||
sk = R"(SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders)";
|
||||
|
||||
openRes = RegOpenKeyEx(HKEY_CURRENT_USER, sk, 0, KEY_ALL_ACCESS, &hKey);
|
||||
if (openRes != ERROR_SUCCESS){
|
||||
fatal("Cannot get Documents directory!");
|
||||
}
|
||||
Path = QueryKey(hKey,5);
|
||||
Path += "\\";
|
||||
Path += "\\BeamNG.drive\\";
|
||||
return Path;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ std::string GetVer(){
|
||||
return "1.80";
|
||||
}
|
||||
std::string GetPatch(){
|
||||
return ".6";
|
||||
return ".7";
|
||||
}
|
||||
void ReLaunch(int argc,char*args[]){
|
||||
std::string Arg;
|
||||
|
||||
Reference in New Issue
Block a user