diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-04 21:08:57 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-04 21:08:57 -0300 |
| commit | 4b2afd3e2144e42bfa7f11a870584b9255052cf7 (patch) | |
| tree | 11bcb45e3c93532d2aeaea69b4387ccda365bc22 /scripts/input/MainGameInputHandler.cs | |
| parent | 1e248d3dd18f7c6bfaf8066c4662facbbb89e8f9 (diff) | |
INVENTÁRIO PEGÁVEL AAAAAAAAAAAAAAAAAAAAAAAAAAAA
Diffstat (limited to 'scripts/input/MainGameInputHandler.cs')
| -rw-r--r-- | scripts/input/MainGameInputHandler.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/input/MainGameInputHandler.cs b/scripts/input/MainGameInputHandler.cs index c7bf26a..6fb6aac 100644 --- a/scripts/input/MainGameInputHandler.cs +++ b/scripts/input/MainGameInputHandler.cs @@ -25,6 +25,10 @@ public partial class MainGameInputHandler : BaseInputHandler { } } + if (Input.IsActionJustPressed("pick-item")) { + GetParent<InputHandler>().SetInputHandler(InputHandlers.Pickup); + } + if (Input.IsActionJustPressed("inspect")) { GetParent<InputHandler>().SetInputHandler(InputHandlers.Inspect); } |
