Button remapping work
This commit is contained in:
@@ -60,7 +60,7 @@ public partial class InGameUI : Control, IInGameUI
|
||||
|
||||
public override void _UnhandledInput(InputEvent @event)
|
||||
{
|
||||
if (@event.IsActionPressed(GameInputs.Inventory))
|
||||
if (@event.IsActionPressed(GameInputs.Inventory) && !InventoryMenu.Visible)
|
||||
{
|
||||
GD.Print("Inventory button pressed");
|
||||
InGameUILogic.Input(new InGameUILogic.Input.ShowInventory());
|
||||
|
||||
Reference in New Issue
Block a user