summaryrefslogtreecommitdiff
path: root/scripts/Utils
diff options
context:
space:
mode:
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();