From 4e8f789cf8cf203723878f26a0b6b434aee9ccd5 Mon Sep 17 00:00:00 2001 From: dexy Date: Tue, 1 Feb 2022 01:59:29 +1100 Subject: [PATCH] Fixed typo in YED XML importer --- CodeWalker.Core/GameFiles/Resources/Expression.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeWalker.Core/GameFiles/Resources/Expression.cs b/CodeWalker.Core/GameFiles/Resources/Expression.cs index b1a0f84..47b726f 100644 --- a/CodeWalker.Core/GameFiles/Resources/Expression.cs +++ b/CodeWalker.Core/GameFiles/Resources/Expression.cs @@ -692,7 +692,7 @@ namespace CodeWalker.GameFiles { foreach (XmlNode inode in inodes) { - if (Enum.TryParse(Xml.GetStringAttribute(inode, "type"), out var type)) ; + if (Enum.TryParse(Xml.GetStringAttribute(inode, "type"), out var type)) { var item = CreateItem(type); item.Type = type;