From 63bacc0a7782b057a7b4f2414806fefe8f256efe Mon Sep 17 00:00:00 2001 From: Gibson <3028128+GibsonHF@users.noreply.github.com> Date: Sun, 26 Dec 2021 21:30:08 -0500 Subject: [PATCH 1/2] Updated tab_self for missing code Missing treepop causing issues in self tab --- BigBaseV2/src/gui/window/main/tab_self.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BigBaseV2/src/gui/window/main/tab_self.cpp b/BigBaseV2/src/gui/window/main/tab_self.cpp index 36081775..7e99b857 100644 --- a/BigBaseV2/src/gui/window/main/tab_self.cpp +++ b/BigBaseV2/src/gui/window/main/tab_self.cpp @@ -33,6 +33,8 @@ namespace big ImGui::Checkbox("No Ragdoll", &g.self.no_ragdoll); ImGui::SameLine(); ImGui::Checkbox("Super Run", &g.self.super_run); + + ImGui::TreePop(); } if (ImGui::TreeNode("Frame Flags")) From 621745fecaf0533b6f1cbceac7ac1a9a736e7a78 Mon Sep 17 00:00:00 2001 From: Gibson <3028128+GibsonHF@users.noreply.github.com> Date: Sun, 26 Dec 2021 21:30:56 -0500 Subject: [PATCH 2/2] Update window_handling.cpp Fixed window handling endline --- BigBaseV2/src/gui/window/window_handling.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BigBaseV2/src/gui/window/window_handling.cpp b/BigBaseV2/src/gui/window/window_handling.cpp index 25ab8a7c..ba9b0286 100644 --- a/BigBaseV2/src/gui/window/window_handling.cpp +++ b/BigBaseV2/src/gui/window/window_handling.cpp @@ -14,7 +14,7 @@ namespace big if (g_local_player == nullptr || g_local_player->m_vehicle == nullptr || g_local_player->m_ped_task_flag & (int)ePedTask::TASK_FOOT) { ImGui::Text("Please enter a vehicle."); - + ImGui::End(); return; } g_vehicle_service->attempt_save(); @@ -29,4 +29,4 @@ namespace big ImGui::End(); } } -} \ No newline at end of file +}