diff --git a/src/game/frontend/submenus/Recovery/Transactions.cpp b/src/game/frontend/submenus/Recovery/Transactions.cpp index 73fe8df..5be2447 100644 --- a/src/game/frontend/submenus/Recovery/Transactions.cpp +++ b/src/game/frontend/submenus/Recovery/Transactions.cpp @@ -288,7 +288,7 @@ namespace YimMenu::Submenus static int GetItemPrice(rage::netCatalogBaseItem* item) { - if (item->m_MembershipPrice != -1 || !HasGTAPlusMembership()) + if (item->m_MembershipPrice == -1 || !HasGTAPlusMembership()) return item->m_Price; else return item->m_MembershipPrice; diff --git a/src/game/frontend/submenus/Self/OutfitEditor.cpp b/src/game/frontend/submenus/Self/OutfitEditor.cpp index 2df6a96..e96c5d1 100644 --- a/src/game/frontend/submenus/Self/OutfitEditor.cpp +++ b/src/game/frontend/submenus/Self/OutfitEditor.cpp @@ -96,10 +96,7 @@ namespace YimMenu auto ped = Self::GetPed(); if (!ped) - { - ImGui::TextDisabled("Player not found"); - return; - } + return ImGui::TextDisabled("Player ped not found"); // Create two columns layout const float windowWidth = ImGui::GetContentRegionAvail().x;