summaryrefslogtreecommitdiff
path: root/scripts/InputHandling/MainGameInputHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/InputHandling/MainGameInputHandler.cs')
-rw-r--r--scripts/InputHandling/MainGameInputHandler.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/InputHandling/MainGameInputHandler.cs b/scripts/InputHandling/MainGameInputHandler.cs
index fe8e573..6a110d7 100644
--- a/scripts/InputHandling/MainGameInputHandler.cs
+++ b/scripts/InputHandling/MainGameInputHandler.cs
@@ -48,6 +48,11 @@ public partial class MainGameInputHandler : BaseInputHandler
GetParent<InputHandler>().SetInputHandler(InputHandlers.Inspect);
}
+ if (Input.IsActionJustPressed("open-spellbook"))
+ {
+ GetParent<InputHandler>().SetInputHandler(InputHandlers.SpellMenu);
+ }
+
if (Input.IsActionJustPressed("skip-turn"))
{
action = new WaitAction(player);