Add property requirements to safe traits
This commit is contained in:
@@ -16,6 +16,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
public class PlugInfo : TraitInfo<Plug>
|
||||
{
|
||||
[FieldLoader.Require]
|
||||
[Desc("Plug type (matched against Upgrades in Pluggable)")]
|
||||
public readonly string Type = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user