Merge branch 'main' into release-0.20

This commit is contained in:
MihailRis 2024-03-15 14:19:57 +03:00
commit 057f9245cd

View file

@ -260,7 +260,7 @@ void Hud::processInput(bool visible) {
} }
} }
if (visible && Events::jactive(BIND_HUD_INVENTORY)) { if (!pause && visible && Events::jactive(BIND_HUD_INVENTORY)) {
if (inventoryOpen) { if (inventoryOpen) {
closeInventory(); closeInventory();
} else { } else {