Small cleanup

This commit is contained in:
Chandler Cox
2023-01-20 00:56:46 -06:00
parent efe11d0105
commit 6c1ce82e5c

View File

@@ -183,14 +183,7 @@ namespace FlaxEditor.CustomEditors.Editors
// Check all entered subtags and create any that dont exist
for (int j = 0; j <= i; j++)
{
if (j == 0)
{
tagString += subInputs[j];
}
else
{
tagString += "." + subInputs[j];
}
tagString += j == 0 ? subInputs[j] : "." + subInputs[j];
}
if (string.IsNullOrEmpty(tagString))