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:
@@ -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); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user