Fix and enable SA1133, SA1134 style rules.
This commit is contained in:
@@ -17,8 +17,10 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Fires a weapon at the location when collected.")]
|
||||
class ExplodeCrateActionInfo : CrateActionInfo
|
||||
{
|
||||
[WeaponReference]
|
||||
[FieldLoader.Require]
|
||||
[Desc("The weapon to fire upon collection.")]
|
||||
[WeaponReference, FieldLoader.Require] public string Weapon = null;
|
||||
public string Weapon = null;
|
||||
|
||||
public override object Create(ActorInitializer init) { return new ExplodeCrateAction(init.Self, this); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user