Merge pull request #202 from biswop/master

added complete points button to interactive map
This commit is contained in:
Callow 2022-07-02 17:51:39 +03:00 committed by GitHub
commit 03a65cb6b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -411,6 +411,14 @@ namespace cheat::feature
} }
ImGui::CloseCurrentPopup(); ImGui::CloseCurrentPopup();
} }
if (ImGui::Button("Complete progress"))
{
for (auto& [pointID, point] : label.points)
{
CompletePoint(&point);
}
ImGui::CloseCurrentPopup();
}
ImGui::EndPopup(); ImGui::EndPopup();
} }