Skip to content

Commit 5c20d66

Browse files
committed
Maintain compatibility with older version of C#
1 parent c122356 commit 5c20d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ink-engine-runtime/JsonSerialisation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ private static List<string> JArrayToTags(Dictionary<string, object> jObj, Choice
608608
{
609609
if (!jObj.TryGetValue("tags", out object jArray)) return null;
610610

611-
List<string> tags = new();
611+
var tags = new List<string>();
612612
foreach (var stringValue in (List<object>)jArray)
613613
{
614614
tags.Add(stringValue.ToString());

0 commit comments

Comments
 (0)