1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 04:19:54 +08:00

Remove unnecessary math min

This commit is contained in:
Salman Ahmed
2024-07-10 16:29:28 +03:00
Unverified
parent 7d667ac46b
commit bb9a2b705e
+1 -1
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)