1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 15:43:22 +08:00

Remove unnecessary math min

This commit is contained in:
Salman Ahmed 2024-07-10 16:29:28 +03:00
parent 7d667ac46b
commit bb9a2b705e

View File

@ -40,7 +40,7 @@ namespace osu.Game.Screens.Menu
var ongoingOperations = notifications.OngoingOperations.ToArray();
foreach (var n in ongoingOperations.Take(Math.Min(ongoingOperations.Length, 10)))
foreach (var n in ongoingOperations.Take(10))
text += $"{n.Text} ({n.Progress:0%})\n";
if (ongoingOperations.Length > 10)