From 7366036dc7e2f12a64c424c7b134cbb66505c59a Mon Sep 17 00:00:00 2001 From: Battlefield Duck Date: Tue, 6 Feb 2024 06:20:28 +0800 Subject: [PATCH] Update Rules.cs --- OpenGSQ/Responses/Unreal2/Rules.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenGSQ/Responses/Unreal2/Rules.cs b/OpenGSQ/Responses/Unreal2/Rules.cs index bf6b8cb..804cf77 100644 --- a/OpenGSQ/Responses/Unreal2/Rules.cs +++ b/OpenGSQ/Responses/Unreal2/Rules.cs @@ -27,7 +27,7 @@ public class Rules /// The value associated with the specified key. public string this[string key] { - get { return Data[key].ToString(); } + get { return Data[key].ToString() ?? string.Empty; } set { Data[key] = value.ToString(); } } }