fix missing bNotInGame

This commit is contained in:
Tropical 2026-03-22 14:02:50 -05:00
parent 547a3f3962
commit dccac7487a

View file

@ -44,6 +44,8 @@ std::wstring UIScene_SettingsMenu::getMoviePath() {
}
void UIScene_SettingsMenu::handleReload() {
bool bNotInGame = (Minecraft::GetInstance()->level == NULL);
if (ProfileManager.GetPrimaryPad() != m_iPad) {
removeControl(&m_buttons[BUTTON_ALL_AUDIO], bNotInGame);
removeControl(&m_buttons[BUTTON_ALL_GRAPHICS], bNotInGame);