diff --git a/OpenRa.Game/GameRules/UnitInfo.cs b/OpenRa.Game/GameRules/UnitInfo.cs index 7a4c2ded55..0821e2b99c 100755 --- a/OpenRa.Game/GameRules/UnitInfo.cs +++ b/OpenRa.Game/GameRules/UnitInfo.cs @@ -4,6 +4,7 @@ using System.Linq; using System.IO; using OpenRa.FileFormats; using OpenRa.Game.Graphics; +using IjwFramework.Types; namespace OpenRa.Game.GameRules { @@ -98,7 +99,7 @@ namespace OpenRa.Game.GameRules field.SetValue( this, x.Value ); else if( field.FieldType == typeof( ArmorType ) ) - field.SetValue( this, Enum.Parse( typeof( ArmorType ), x.Value ) ); + field.SetValue( this, Enum.Parse(x.Value) ); else if( field.FieldType == typeof( bool ) ) field.SetValue( this, ParseYesNo( x.Value ) ); diff --git a/sequences.xml b/sequences.xml index 0564c14b4c..346a5b4f6b 100644 --- a/sequences.xml +++ b/sequences.xml @@ -72,6 +72,14 @@ + + + + + + + +