summaryrefslogtreecommitdiff
path: root/scripts/Utils/MessageLogData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Utils/MessageLogData.cs')
-rw-r--r--scripts/Utils/MessageLogData.cs2
1 files changed, 1 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();
}
}