diff options
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); } |
