Fix mod assembly loading on Windows.

This commit is contained in:
Paul Chote
2016-02-07 18:14:06 +00:00
parent e0d74455f5
commit 6c6826c3f3
6 changed files with 55 additions and 39 deletions

View File

@@ -108,7 +108,7 @@ namespace OpenRA.Test
var yaml = MiniYaml.Merge(sources.Select(s => MiniYaml.FromString(s)));
var allUnits = yaml.ToDictionary(node => node.Key, node => node.Value);
var unit = allUnits[name];
var creator = new ObjectCreator(new[] { typeof(ActorInfoTest).Assembly });
var creator = new ObjectCreator(typeof(ActorInfoTest).Assembly);
return new ActorInfo(creator, name, unit);
}
}