ESC closes inventory now.
This commit is contained in:
@@ -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"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user