mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 06:52:56 +08:00
Remove linq usage in BreakOverlay update
This commit is contained in:
parent
94206f0aaa
commit
7d42561da9
@ -2,7 +2,6 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
@ -138,7 +137,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
private void updateBreakTimeBindable()
|
||||
{
|
||||
if (breaks?.Any() != true)
|
||||
if (breaks == null || breaks.Count == 0)
|
||||
return;
|
||||
|
||||
var time = Clock.CurrentTime;
|
||||
|
Loading…
Reference in New Issue
Block a user