This commit is contained in:
NOTPIES 2026-03-04 19:46:57 -03:00
parent dfdc35264d
commit 07a5881796
2 changed files with 2 additions and 3 deletions

View file

@ -24,7 +24,7 @@ public:
static const int KEY_CRAFTING = VK_TAB;
static const int KEY_CRAFTING_ALT = 'R';
static const int KEY_CONFIRM = VK_RETURN;
static const int KEY_CANCEL = VK_ESCAPE;
static const int KEY_CANCEL = VK_BACK;
static const int KEY_PAUSE = VK_ESCAPE;
static const int KEY_THIRD_PERSON = VK_F5;
static const int KEY_DEBUG_INFO = VK_F3;

View file

@ -1503,8 +1503,7 @@ void Minecraft::run_middle()
}
}
// Utility keys always work regardless of KBM active state
if(g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_PAUSE) && !ui.IsTutorialVisible(i))
if(g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_PAUSE))
{
localplayers[i]->ullButtonsPressed|=1LL<<MINECRAFT_ACTION_PAUSEMENU;
app.DebugPrintf("PAUSE PRESSED (keyboard) - ipad = %d\n",i);