fixed new custom profile directory

This commit is contained in:
Anonymous-275 2021-03-30 03:07:49 +03:00
parent 9f1e58bb70
commit 16f0769f87

View File

@ -34,10 +34,9 @@ std::string GetGamePath(){
fatal("Cannot get Local Appdata directory!"); fatal("Cannot get Local Appdata directory!");
} }
Path = QueryKey(hKey,5); Path = QueryKey(hKey,5);
Path += "\\BeamNG.drive\\" + CheckVer(GetGameDir()) + "\\"; Path += "\\BeamNG.drive\\";
return Path;
} }
Path += CheckVer(GetGameDir()) + "\\";
return Path; return Path;
} }