added 'hud.inventory' binding

This commit is contained in:
MihailRis
2023-11-19 23:11:35 +03:00
parent 9051db3526
commit 7ab69ebc1e
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -309,7 +309,7 @@ void HudRenderer::draw(const GfxContext& ctx){
pauseMenu->visible(true);
}
}
if (Events::jpressed(keycode::TAB)) {
if (Events::jactive("hud.inventory")) {
if (!pause) {
inventoryOpen = !inventoryOpen;
}