Skip to content

Commit

Permalink
Update Rules.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck committed Feb 5, 2024
1 parent 849eee5 commit 7366036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenGSQ/Responses/Unreal2/Rules.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class Rules
/// <returns>The value associated with the specified key.</returns>
public string this[string key]
{
get { return Data[key].ToString(); }
get { return Data[key].ToString() ?? string.Empty; }
set { Data[key] = value.ToString(); }
}
}
Expand Down

0 comments on commit 7366036

Please sign in to comment.