Fixed typo in YED XML importer

This commit is contained in:
dexy 2022-02-01 01:59:29 +11:00
parent 7a8977b277
commit 4e8f789cf8

View File

@ -692,7 +692,7 @@ namespace CodeWalker.GameFiles
{
foreach (XmlNode inode in inodes)
{
if (Enum.TryParse<ExpressionNodeType>(Xml.GetStringAttribute(inode, "type"), out var type)) ;
if (Enum.TryParse<ExpressionNodeType>(Xml.GetStringAttribute(inode, "type"), out var type))
{
var item = CreateItem(type);
item.Type = type;