mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
added 'hud.inventory' binding
This commit is contained in:
parent
9051db3526
commit
7ab69ebc1e
3 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue