fix trait ordering, via ITraitPrerequisite<>. We'll need to do this for other traits, later (I've just fixed the crashbug)

This commit is contained in:
Bob
2010-01-30 18:37:27 +13:00
parent 43a27bcfa0
commit c012cf3c7f
4 changed files with 37 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ using OpenRa.Graphics;
namespace OpenRa.Traits
{
class RenderWarFactoryInfo : ITraitInfo
class RenderWarFactoryInfo : ITraitInfo, ITraitPrerequisite<RenderSimpleInfo>
{
public object Create(Actor self) { return new RenderWarFactory(self); }
}