Support ingame mod switching.

This commit is contained in:
Paul Chote
2011-01-21 09:43:56 +13:00
parent d32e2be941
commit f44903b50f
2 changed files with 8 additions and 6 deletions

View File

@@ -23,9 +23,6 @@ namespace OpenRA.FileFormats
public ActorReference( string type, Dictionary<string, MiniYaml> inits )
{
if (Rules.Info != null && !Rules.Info.ContainsKey(type))
throw new InvalidDataException("Unknown actor: `{0}'".F(type));
Type = type;
InitDict = new TypeDictionary();
foreach( var i in inits )