.Any(), .Count() -> .Count or .Length
This commit is contained in:
committed by
atlimit8
parent
6eb4fe8980
commit
79f321cb44
@@ -106,7 +106,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
clocks.Add(power.a.Key, new Animation(world, ClockAnimation));
|
||||
}
|
||||
|
||||
Bounds.Width = powers.Count() * (IconWidth + IconSpacing);
|
||||
Bounds.Width = powers.Count * (IconWidth + IconSpacing);
|
||||
|
||||
Game.Renderer.EnableAntialiasingFilter();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user