Auto proton patch, fix for 0.22.2.0

This commit is contained in:
Anonymous-275
2021-04-15 18:22:54 +03:00
parent 15d1539a92
commit b45e4b40f2
2 changed files with 94 additions and 3 deletions

View File

@@ -35,7 +35,9 @@ std::string GetGamePath(){
Path = QueryKey(hKey,5);
Path += "\\BeamNG.drive\\";
}
Path += CheckVer(GetGameDir()) + "\\";
std::string Ver = CheckVer(GetGameDir());
Ver = Ver.substr(0,Ver.find('.',Ver.find('.')+1));
Path += Ver + "\\";
return Path;
}