Fix IDE0090
This commit is contained in:
committed by
Pavel Penev
parent
164abfdae1
commit
8a285f9b19
@@ -16,7 +16,7 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
|
||||
{
|
||||
class ReplaceFacingAngles : UpdateRule
|
||||
{
|
||||
static readonly Dictionary<string, string[]> TraitFields = new Dictionary<string, string[]>()
|
||||
static readonly Dictionary<string, string[]> TraitFields = new()
|
||||
{
|
||||
{ "Aircraft", new[] { "InitialFacing", "PreviewFacing", "TurnSpeed", "IdleTurnSpeed" } },
|
||||
{ "Mobile", new[] { "InitialFacing", "PreviewFacing", "TurnSpeed" } },
|
||||
@@ -51,7 +51,7 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
|
||||
{ "AttackTesla", new[] { "FacingTolerance" } },
|
||||
};
|
||||
|
||||
static readonly Dictionary<string, string[]> ProjectileFields = new Dictionary<string, string[]>()
|
||||
static readonly Dictionary<string, string[]> ProjectileFields = new()
|
||||
{
|
||||
{ "Missile", new[] { "HorizontalRateOfTurn", "VerticalRateOfTurn" } }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user