Fix IDE0028, IDE0300, IDE0301, IDE0302, IDE0303, IDE0304.
Silence IDE0305.
This commit is contained in:
committed by
Pavel Penev
parent
0740991c12
commit
79454d8fd2
@@ -33,7 +33,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly BitSet<DamageType> RepairDamageTypes = default;
|
||||
|
||||
[Desc("The percentage repair bonus applied with increasing numbers of repairers.")]
|
||||
public readonly int[] RepairBonuses = { 100, 150, 175, 200, 220, 240, 260, 280, 300 };
|
||||
public readonly int[] RepairBonuses = [100, 150, 175, 200, 220, 240, 260, 280, 300];
|
||||
|
||||
// TODO: This should be replaced with a pause condition
|
||||
[Desc("Cancel the repair state when the trait is disabled.")]
|
||||
@@ -68,10 +68,10 @@ namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
readonly IHealth health;
|
||||
readonly Predicate<Player> isNotActiveAlly;
|
||||
readonly Stack<int> repairTokens = new();
|
||||
readonly Stack<int> repairTokens = [];
|
||||
int remainingTicks;
|
||||
|
||||
public readonly List<Player> Repairers = new();
|
||||
public readonly List<Player> Repairers = [];
|
||||
public bool RepairActive { get; private set; }
|
||||
|
||||
public RepairableBuilding(Actor self, RepairableBuildingInfo info)
|
||||
|
||||
Reference in New Issue
Block a user