Skip to content

Commit

Permalink
Maintain compatibility with older version of C#
Browse files Browse the repository at this point in the history
  • Loading branch information
joethephish committed Jun 7, 2024
1 parent c122356 commit 5c20d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ink-engine-runtime/JsonSerialisation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ private static List<string> JArrayToTags(Dictionary<string, object> jObj, Choice
{
if (!jObj.TryGetValue("tags", out object jArray)) return null;

List<string> tags = new();
var tags = new List<string>();
foreach (var stringValue in (List<object>)jArray)
{
tags.Add(stringValue.ToString());
Expand Down

0 comments on commit 5c20d66

Please sign in to comment.