fix to "fix config path"

This commit is contained in:
Callow 2022-07-13 13:54:27 +03:00
parent d80d3d15d6
commit 3b5b7f052e

View File

@ -15,7 +15,7 @@ void Run(HMODULE* phModule)
{
ResourceLoader::SetModuleHandle(*phModule);
auto cheatDir = std::filesystem::path(util::GetModulePath(*phModule)).parent_path();
auto cheatDir = std::filesystem::path(util::GetModulePath(*phModule));
// Init config
config::Initialize((cheatDir / "cfg.json").string());