Fix IDE0090

This commit is contained in:
RoosterDragon
2023-04-05 19:34:12 +01:00
committed by Pavel Penev
parent 164abfdae1
commit 8a285f9b19
385 changed files with 790 additions and 794 deletions

View File

@@ -25,10 +25,10 @@ namespace OpenRA.Mods.Common.Traits
public readonly WVec Offset = WVec.Zero;
[Desc("Minimum distance to throw the particle")]
public readonly WDist MinThrowRange = new WDist(256);
public readonly WDist MinThrowRange = new(256);
[Desc("Maximum distance to throw the particle")]
public readonly WDist MaxThrowRange = new WDist(768);
public readonly WDist MaxThrowRange = new(768);
[Desc("Minimum angle to throw the particle")]
public readonly WAngle MinThrowAngle = WAngle.FromDegrees(30);
@@ -40,7 +40,7 @@ namespace OpenRA.Mods.Common.Traits
public readonly int Velocity = 75;
[Desc("Speed at which the particle turns.")]
public readonly WAngle TurnSpeed = new WAngle(60);
public readonly WAngle TurnSpeed = new(60);
public override object Create(ActorInitializer init) { return new ThrowsParticle(init, this); }
}