summaryrefslogtreecommitdiff
path: root/scripts/input/MainGameInputHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/input/MainGameInputHandler.cs')
-rw-r--r--scripts/input/MainGameInputHandler.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/input/MainGameInputHandler.cs b/scripts/input/MainGameInputHandler.cs
index 1c5ac6e..c7bf26a 100644
--- a/scripts/input/MainGameInputHandler.cs
+++ b/scripts/input/MainGameInputHandler.cs
@@ -24,6 +24,10 @@ public partial class MainGameInputHandler : BaseInputHandler {
action = new BumpAction(player, direction.Value);
}
}
+
+ if (Input.IsActionJustPressed("inspect")) {
+ GetParent<InputHandler>().SetInputHandler(InputHandlers.Inspect);
+ }
if (Input.IsActionJustPressed("skip-turn")) {
action = new WaitAction(player);