Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fr0go1 committed Oct 19, 2023
1 parent 0b733e4 commit 42c07c6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions CS2_External/Cheats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,13 @@ void Cheats::Menu()
ImGui::SameLine();
ImGui::ColorEdit4("##BoxColor", reinterpret_cast<float*>(&MenuConfig::BoxColor), ImGuiColorEditFlags_NoInputs);
ImGui::SameLine();
if (ImGui::Button("VisCheck"))

if (ImGui::Button("VisCheck (Box)"))
ImGui::OpenPopup("##boxvis");

if (ImGui::BeginPopup("##boxvis"))
{
ImGui::TextUnformatted("Settings");
ImGui::TextUnformatted("Box Settings");
ImGui::Checkbox("VisibleBoxESP", &MenuConfig::EspVisCheck);
ImGui::SameLine();
ImGui::ColorEdit4("##BoxVisColor", reinterpret_cast<float*>(&MenuConfig::VisibleColor), ImGuiColorEditFlags_NoInputs);
Expand All @@ -108,11 +110,13 @@ void Cheats::Menu()
ImGui::SameLine();
ImGui::ColorEdit4("##BoneColor", reinterpret_cast<float*>(&MenuConfig::BoneColor), ImGuiColorEditFlags_NoInputs);
ImGui::SameLine();
if (ImGui::Button("VisCheck"))

if (ImGui::Button("VisCheck (Bone)"))
ImGui::OpenPopup("##bonevis");

if (ImGui::BeginPopup("##bonevis"))
{
ImGui::TextUnformatted("Settings");
ImGui::TextUnformatted("Bone Settings");
ImGui::Checkbox("VisibleBoneESP", &MenuConfig::VisibleEsp);
ImGui::SameLine();
ImGui::ColorEdit4("##BoneVisColor", reinterpret_cast<float*>(&MenuConfig::BoneVisColor), ImGuiColorEditFlags_NoInputs);
Expand Down

0 comments on commit 42c07c6

Please sign in to comment.