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

@@ -31,11 +31,11 @@ namespace OpenRA.Mods.Common.Projectiles
public readonly bool Blockable = false;
[Desc("The width of the projectile.")]
public readonly WDist Width = new WDist(1);
public readonly WDist Width = new(1);
[Desc("Scan radius for actors with projectile-blocking trait. If set to a negative value (default), it will automatically scale",
"to the blocker with the largest health shape. Only set custom values if you know what you're doing.")]
public readonly WDist BlockerScanRadius = new WDist(-1);
public readonly WDist BlockerScanRadius = new(-1);
public IProjectile Create(ProjectileArgs args) { return new InstantHit(this, args); }
}