summaryrefslogtreecommitdiff
path: root/scripts/InputHandling
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/InputHandling')
-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 bbfb9ca..a18bd73 100644
--- a/scripts/InputHandling/MainGameInputHandler.cs
+++ b/scripts/InputHandling/MainGameInputHandler.cs
@@ -63,6 +63,11 @@ public partial class MainGameInputHandler : BaseInputHandler
action = new EscapeAction(player);
}
+ if (Input.IsActionJustPressed("descend"))
+ {
+ action = new TakeStairsAction(player);
+ }
+
return action;
}
}