summaryrefslogtreecommitdiff
path: root/scripts/Utils
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-09-15 20:00:47 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-09-15 20:00:47 -0300
commit862b399fa37e6ca692d38177a22ee34860d2251e (patch)
tree3c0c80efbe0096c8e8d606ee464b54b55eaa209c /scripts/Utils
parentbefb39054656e3242e9408f2afe8c902df471ffa (diff)
Menu principal
Diffstat (limited to 'scripts/Utils')
-rw-r--r--scripts/Utils/MessageLogData.cs2
-rw-r--r--scripts/Utils/SignalBus.cs3
2 files changed, 4 insertions, 1 deletions
diff --git a/scripts/Utils/MessageLogData.cs b/scripts/Utils/MessageLogData.cs
index 46d2c3e..ab81fe6 100644
--- a/scripts/Utils/MessageLogData.cs
+++ b/scripts/Utils/MessageLogData.cs
@@ -40,7 +40,7 @@ public partial class MessageLogData : Node
{
Message message = Messages[i];
Messages.RemoveAt(i);
- message.QueueFree();
+ message?.QueueFree();
}
}
diff --git a/scripts/Utils/SignalBus.cs b/scripts/Utils/SignalBus.cs
index bf97c2d..291ffcd 100644
--- a/scripts/Utils/SignalBus.cs
+++ b/scripts/Utils/SignalBus.cs
@@ -31,6 +31,9 @@ public partial class SignalBus : Node
[Signal]
public delegate void CommandInputHandlerEventHandler(InputHandlers state);
+ [Signal]
+ public delegate void EscapeRequestedEventHandler();
+
public override void _Ready()
{
base._Ready();