From 477ae85ecfc6babdbe7a218df5064d89caf600ec Mon Sep 17 00:00:00 2001 From: biswop Date: Sun, 3 Jul 2022 00:33:19 +1000 Subject: [PATCH] added complete points button to interactive map --- cheat-library/src/user/cheat/imap/InteractiveMap.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cheat-library/src/user/cheat/imap/InteractiveMap.cpp b/cheat-library/src/user/cheat/imap/InteractiveMap.cpp index 7e60217..0f65dc9 100644 --- a/cheat-library/src/user/cheat/imap/InteractiveMap.cpp +++ b/cheat-library/src/user/cheat/imap/InteractiveMap.cpp @@ -411,6 +411,14 @@ namespace cheat::feature } ImGui::CloseCurrentPopup(); } + if (ImGui::Button("Complete progress")) + { + for (auto& [pointID, point] : label.points) + { + CompletePoint(&point); + } + ImGui::CloseCurrentPopup(); + } ImGui::EndPopup(); }