mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Remove unnecessary quick check
Not saving for anything
This commit is contained in:
@ -137,16 +137,6 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
var time = Clock.CurrentTime;
|
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)
|
if (time > breaks[currentBreakIndex].EndTime)
|
||||||
{
|
{
|
||||||
while (time > breaks[currentBreakIndex].EndTime && currentBreakIndex < breaks.Count - 1)
|
while (time > breaks[currentBreakIndex].EndTime && currentBreakIndex < breaks.Count - 1)
|
||||||
|
Reference in New Issue
Block a user