1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 13:27:23 +08:00

Don't use linq query

This commit is contained in:
EVAST9919 2017-10-02 05:12:56 +03:00
parent ac6c323f93
commit 5ce2723719

View File

@ -9,7 +9,6 @@ using osu.Framework.Threading;
using osu.Game.Beatmaps.Timing;
using osu.Game.Rulesets.Scoring;
using System.Collections.Generic;
using System.Linq;
namespace osu.Game.Screens.Play.BreaksOverlay
{
@ -127,7 +126,7 @@ namespace osu.Game.Screens.Play.BreaksOverlay
.ResizeWidthTo(0, b.Duration - fade_duration);
tasks.Add(new ScheduledDelegate(() => remainingTimeCounter.StartCounting(b.EndTime), b.StartTime));
Scheduler.Add(tasks.Last());
Scheduler.Add(tasks[tasks.Count - 1]);
remainingTimeCounter.FadeIn(fade_duration);