mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-26 07:12:54 +00:00
fix missing bNotInGame
This commit is contained in:
parent
547a3f3962
commit
dccac7487a
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue