Fix ItemSlotButton and HandsGui handling all input.

Fixes #904
This commit is contained in:
Pieter-Jan Briers
2020-05-11 11:19:41 +02:00
parent 033a6a82b5
commit 63b0df5ba2
2 changed files with 7 additions and 4 deletions

View File

@@ -65,8 +65,6 @@ namespace Content.Client.UserInterface
public bool OnButtonPressed(GUIBoundKeyEventArgs args, IEntity item)
{
args.Handle();
if (item == null)
return false;
@@ -99,6 +97,7 @@ namespace Content.Client.UserInterface
{
return false;
}
args.Handle();
return true;
}