Fix CA1852
This commit is contained in:
committed by
Pavel Penev
parent
277699cbd5
commit
f4af5c1764
@@ -17,7 +17,7 @@ using OpenRA.Traits;
|
||||
namespace OpenRA.Mods.Common.Traits.Render
|
||||
{
|
||||
[Desc("Visualizes the minimum remaining time for reloading the armaments.")]
|
||||
class ReloadArmamentsBarInfo : TraitInfo
|
||||
sealed class ReloadArmamentsBarInfo : TraitInfo
|
||||
{
|
||||
[Desc("Armament names")]
|
||||
public readonly string[] Armaments = { "primary", "secondary" };
|
||||
@@ -27,7 +27,7 @@ namespace OpenRA.Mods.Common.Traits.Render
|
||||
public override object Create(ActorInitializer init) { return new ReloadArmamentsBar(init.Self, this); }
|
||||
}
|
||||
|
||||
class ReloadArmamentsBar : ISelectionBar, INotifyCreated
|
||||
sealed class ReloadArmamentsBar : ISelectionBar, INotifyCreated
|
||||
{
|
||||
readonly ReloadArmamentsBarInfo info;
|
||||
readonly Actor self;
|
||||
|
||||
Reference in New Issue
Block a user