From 862b399fa37e6ca692d38177a22ee34860d2251e Mon Sep 17 00:00:00 2001 From: Matheus Date: Mon, 15 Sep 2025 20:00:47 -0300 Subject: Menu principal --- scripts/InputHandling/MainGameInputHandler.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/InputHandling/MainGameInputHandler.cs') 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; } } -- cgit v1.2.3