More HashSet trait fields & Lint support
This commit is contained in:
@@ -28,7 +28,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly string Group = null;
|
||||
|
||||
[Desc("Only enable this queue for certain factions.")]
|
||||
public readonly string[] Factions = { };
|
||||
public readonly HashSet<string> Factions = new HashSet<string>();
|
||||
|
||||
[Desc("Should the prerequisite remain enabled if the owner changes?")]
|
||||
public readonly bool Sticky = true;
|
||||
|
||||
Reference in New Issue
Block a user