diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-15 20:00:47 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-15 20:00:47 -0300 |
| commit | 862b399fa37e6ca692d38177a22ee34860d2251e (patch) | |
| tree | 3c0c80efbe0096c8e8d606ee464b54b55eaa209c /scripts/InputHandling/MainGameInputHandler.cs | |
| parent | befb39054656e3242e9408f2afe8c902df471ffa (diff) | |
Menu principal
Diffstat (limited to 'scripts/InputHandling/MainGameInputHandler.cs')
| -rw-r--r-- | scripts/InputHandling/MainGameInputHandler.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/InputHandling/MainGameInputHandler.cs b/scripts/InputHandling/MainGameInputHandler.cs index 6a110d7..bbfb9ca 100644 --- a/scripts/InputHandling/MainGameInputHandler.cs +++ b/scripts/InputHandling/MainGameInputHandler.cs @@ -58,6 +58,11 @@ public partial class MainGameInputHandler : BaseInputHandler action = new WaitAction(player); } + if (Input.IsActionJustPressed("quit")) + { + action = new EscapeAction(player); + } + return action; } } |
