ESC closes inventory now.

This commit is contained in:
2025-07-04 23:15:45 +02:00
parent 9cfd3bd6f4
commit e33776daeb
4 changed files with 16 additions and 3 deletions
@@ -143,6 +143,12 @@ public partial class InventoryUi : Control
{
InputInventoryOpenClose();
}
if (Input.IsActionJustPressed("ui_inventory_close"))
{
if(_inventoryExtended)
InputInventoryOpenClose();
}
if (Input.IsActionJustPressed("ui_inventory_disadvance"))
{