Set default values for BitSet<TargetableType>.

This commit is contained in:
Paul Chote
2019-05-02 22:54:22 +01:00
committed by reaperrr
parent c24398e32c
commit 76a8ae9f98
5 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ namespace OpenRA.Mods.Cnc.Traits
[Desc("Steal and reset the owner's exploration.")]
class InfiltrateForExplorationInfo : ITraitInfo
{
public readonly BitSet<TargetableType> Types;
public readonly BitSet<TargetableType> Types = default(BitSet<TargetableType>);
public object Create(ActorInitializer init) { return new InfiltrateForExploration(init.Self, this); }
}