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

@@ -35,11 +35,11 @@ namespace OpenRA.Mods.Common.Traits
public int Experience => experience != null ? experience.Experience : 0;
// Low resolution (every 30 seconds) record of earnings, covering the entire game
public List<int> IncomeSamples = new List<int>(100);
public List<int> IncomeSamples = new(100);
public int Income;
public int DisplayIncome;
public List<int> ArmySamples = new List<int>(100);
public List<int> ArmySamples = new(100);
public int KillsCost;
public int DeathsCost;
@@ -54,7 +54,7 @@ namespace OpenRA.Mods.Common.Traits
public int AssetsValue;
// High resolution (every second) record of earnings, limited to the last minute
readonly Queue<int> earnedSeconds = new Queue<int>(60);
readonly Queue<int> earnedSeconds = new(60);
int lastIncome;
int lastIncomeTick;