Fix IDE0028, IDE0300, IDE0301, IDE0302, IDE0303, IDE0304.
Silence IDE0305.
This commit is contained in:
committed by
Pavel Penev
parent
0740991c12
commit
79454d8fd2
@@ -29,14 +29,14 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Every time another production building of the same queue is",
|
||||
"constructed, the build times of all actors in the queue",
|
||||
"decreased by a percentage of the original time.")]
|
||||
public readonly int[] BuildTimeSpeedReduction = { 100, 86, 75, 67, 60, 55, 50 };
|
||||
public readonly int[] BuildTimeSpeedReduction = [100, 86, 75, 67, 60, 55, 50];
|
||||
|
||||
public override object Create(ActorInitializer init) { return new ClassicProductionQueue(init, this); }
|
||||
}
|
||||
|
||||
public class ClassicProductionQueue : ProductionQueue
|
||||
{
|
||||
static readonly ActorInfo[] NoItems = Array.Empty<ActorInfo>();
|
||||
static readonly ActorInfo[] NoItems = [];
|
||||
|
||||
readonly Actor self;
|
||||
readonly ClassicProductionQueueInfo info;
|
||||
|
||||
Reference in New Issue
Block a user