mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 20:59:35 +08:00
Remove unnecessary quick check
Not saving for anything
This commit is contained in:
parent
1dd3a66300
commit
5bf0277fd4
@ -137,16 +137,6 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
var time = Clock.CurrentTime;
|
||||
|
||||
if (currentBreakIndex < breaks.Count - 1)
|
||||
{
|
||||
// Quick check if we're not in a break with our current index.
|
||||
if (time > breaks[currentBreakIndex].EndTime && time < breaks[currentBreakIndex + 1].StartTime)
|
||||
{
|
||||
isBreakTime.Value = false;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (time > breaks[currentBreakIndex].EndTime)
|
||||
{
|
||||
while (time > breaks[currentBreakIndex].EndTime && currentBreakIndex < breaks.Count - 1)
|
||||
|
Loading…
Reference in New Issue
Block a user