From 00f5e733b0d28855d36ae664a10353b6523f9855 Mon Sep 17 00:00:00 2001 From: Callow Date: Wed, 13 Jul 2022 13:54:27 +0300 Subject: [PATCH] fix to "fix config path" --- cheat-library/src/user/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheat-library/src/user/main.cpp b/cheat-library/src/user/main.cpp index a6649dd..cfff302 100644 --- a/cheat-library/src/user/main.cpp +++ b/cheat-library/src/user/main.cpp @@ -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());