Fix IDE0028, IDE0300, IDE0301, IDE0302, IDE0303, IDE0304.
Silence IDE0305.
This commit is contained in:
committed by
Pavel Penev
parent
0740991c12
commit
79454d8fd2
@@ -9,7 +9,6 @@
|
||||
*/
|
||||
#endregion
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenRA.Graphics;
|
||||
@@ -24,10 +23,10 @@ namespace OpenRA.Mods.D2k.Traits
|
||||
public class D2kActorPreviewPlaceBuildingPreviewInfo : ActorPreviewPlaceBuildingPreviewInfo
|
||||
{
|
||||
[Desc("Terrain types that should show the 'unsafe' footprint tile.")]
|
||||
public readonly HashSet<string> UnsafeTerrainTypes = new() { "Rock" };
|
||||
public readonly HashSet<string> UnsafeTerrainTypes = ["Rock"];
|
||||
|
||||
[Desc("Only check for 'unsafe' footprint tiles when you have these prerequisites.")]
|
||||
public readonly string[] RequiresPrerequisites = Array.Empty<string>();
|
||||
public readonly string[] RequiresPrerequisites = [];
|
||||
|
||||
[Desc("Sprite image to use for the overlay.")]
|
||||
public readonly string Image = "overlay";
|
||||
|
||||
Reference in New Issue
Block a user