From a566dd4c18d3fde14e870115442d30ef024214dd Mon Sep 17 00:00:00 2001 From: Yimura Date: Tue, 8 Mar 2022 20:06:37 +0100 Subject: [PATCH] fix(ViewPlayer): Certain Misc options were incorrectly placed --- BigBaseV2/src/views/view_player.cpp | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/BigBaseV2/src/views/view_player.cpp b/BigBaseV2/src/views/view_player.cpp index aa80feb2..e09d3e04 100644 --- a/BigBaseV2/src/views/view_player.cpp +++ b/BigBaseV2/src/views/view_player.cpp @@ -14,19 +14,6 @@ namespace big ImGui::Text(title.c_str()); ImGui::Checkbox("Spectate", &g->player.spectating); - - if (ImGui::TreeNode("Misc")) { - - components::button("Clear Wanted Level", [] { - toxic::clear_wanted_player(g_player_service->get_selected()->id()); - }); - - ImGui::SameLine(); - - ImGui::Checkbox("Never Wanted", &g->player.player_never_wanted); - - ImGui::TreePop(); - } if (g_player_service->get_selected()->is_valid()) { @@ -46,6 +33,14 @@ namespace big ); }); + components::button("Clear Wanted Level", [] { + toxic::clear_wanted_player(g_player_service->get_selected()->id()); + }); + + ImGui::SameLine(); + + ImGui::Checkbox("Never Wanted", &g->player.player_never_wanted); + ImGui::TreePop(); }