mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 19:43:22 +08:00
Remove unnecessary math min
This commit is contained in:
parent
7d667ac46b
commit
bb9a2b705e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user