Skip to content

Commit

Permalink
fix: configs
Browse files Browse the repository at this point in the history
  • Loading branch information
R-unic committed Apr 15, 2024
1 parent d74c006 commit 204d580
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions GirlKisser/Cheat/Gui/imgui_hooker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ void panic()
std::vector<std::string> get_config_names() {
std::vector<std::string> files;
const std::wstring dir = get_executing_directory();
const std::wstring config_dir = dir + L"/bkc_config";
const std::wstring config_dir = dir + L"/GK_config";
for (const auto& entry : std::filesystem::directory_iterator(config_dir))
{
const std::filesystem::path& p = entry.path();
Expand Down Expand Up @@ -341,7 +341,6 @@ void load_config(const char* config_file)
for (const auto& module : GKImGuiHooker::modules)
{
std::string found;
const std::string NOT_FOUND = "not_found";
std::stringstream pe;
pe << module->name << ";" << "enabled" << ";";
bool enabled;
Expand Down Expand Up @@ -574,7 +573,7 @@ void GKImGuiHooker::start(ID3D11RenderTargetView* g_mainRenderTargetView, ID3D11
ImGui::SameLine();
if (ImGui::Button("Create##config"))
{
save_config(config_file);
save_config(config_file);
combo_file = config_file;
}

Expand Down

0 comments on commit 204d580

Please sign in to comment.