handle primary action inputs

This commit is contained in:
Rendo 2025-07-28 05:33:09 +05:00
commit 8708540770
5 changed files with 7 additions and 1 deletions

View file

@ -50,6 +50,7 @@ public partial class ShovelButton : TextureButton
Disabled = true;
}
}
GetViewport().SetInputAsHandled();
hoveredEntity?.GetNode<FlashShaderController>("FlashController").Deselect();
hoveredEntity = null;
ButtonPressed = false;