fix to "fix config path"
This commit is contained in:
parent
d80d3d15d6
commit
3b5b7f052e
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user