Skip to content

Commit

Permalink
Fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol committed Feb 5, 2025
1 parent e3db13b commit dc72551
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 148,659 deletions.
16 changes: 16 additions & 0 deletions Assets/Scripts/FinolDigital.Cgs.Json.Unity/UnityCardGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -887,12 +887,28 @@ private void PopulateCardProperty(Dictionary<string, PropertyDefValuePair> cardP
{
listTokens = cardJToken[identifier];
if (listTokens != null)
{
foreach (var jToken in listTokens)
{
if (listValueBuilder.Length > 0)
listValueBuilder.Append(EnumDef.Delimiter);
listValueBuilder.Append(jToken.Value<string>() ?? string.Empty);
}

if (listValueBuilder.Length == 0)
{
var listTokensValueString = listTokens.Value<string>();
if (!string.IsNullOrEmpty(listTokensValueString))
{
foreach (var valueChar in listTokensValueString.ToCharArray())
{
if (listValueBuilder.Length > 0)
listValueBuilder.Append(EnumDef.Delimiter);
listValueBuilder.Append(valueChar);
}
}
}
}
}
else
{
Expand Down
Loading

0 comments on commit dc72551

Please sign in to comment.