Hide TraitInfo.InstanceName from FieldLoader.
This commit is contained in:
committed by
Matthias Mailänder
parent
edab10e6a6
commit
06fbc1a6cf
@@ -329,6 +329,7 @@ namespace OpenRA.Traits
|
||||
public abstract class TraitInfo : ITraitInfoInterface
|
||||
{
|
||||
// Value is set using reflection during TraitInfo creation
|
||||
[FieldLoader.Ignore]
|
||||
public readonly string InstanceName = null;
|
||||
|
||||
public abstract object Create(ActorInitializer init);
|
||||
|
||||
Reference in New Issue
Block a user