Fix IDE0090
This commit is contained in:
committed by
Pavel Penev
parent
164abfdae1
commit
8a285f9b19
@@ -29,7 +29,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
Target target;
|
||||
Target lastVisibleTarget;
|
||||
bool useLastVisibleTarget;
|
||||
readonly List<WPos> positionBuffer = new List<WPos>();
|
||||
readonly List<WPos> positionBuffer = new();
|
||||
|
||||
public Fly(Actor self, in Target t, WDist nearEnough, WPos? initialTargetPosition = null, Color? targetLineColor = null)
|
||||
: this(self, t, initialTargetPosition, targetLineColor)
|
||||
|
||||
@@ -106,7 +106,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
return TickChild(self);
|
||||
}
|
||||
|
||||
readonly List<CPos> searchCells = new List<CPos>();
|
||||
readonly List<CPos> searchCells = new();
|
||||
int searchCellsTick = -1;
|
||||
|
||||
List<CPos> CalculatePathToTarget(Actor self, BlockedByActor check)
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
{
|
||||
public readonly string ToActor;
|
||||
public CVec Offset = CVec.Zero;
|
||||
public WAngle Facing = new WAngle(384);
|
||||
public WAngle Facing = new(384);
|
||||
public string[] Sounds = Array.Empty<string>();
|
||||
public string Notification = null;
|
||||
public string TextNotification = null;
|
||||
|
||||
Reference in New Issue
Block a user