final hotfix

This commit is contained in:
Anonymous275
2020-12-27 06:34:11 +02:00
parent 2a03448b3f
commit eaa8796c02
2 changed files with 2 additions and 3 deletions

View File

@@ -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;
}

View File

@@ -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;