mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 16:13:20 +08:00
Fix incorrect exception
This commit is contained in:
parent
fe90570d0f
commit
4f09f30b7a
@ -38,7 +38,7 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
var endTime = Math.Max((h as IHasEndTime)?.EndTime ?? h.StartTime, h.StartTime);
|
||||
|
||||
Debug.Assert(endTime > h.StartTime);
|
||||
Debug.Assert(endTime >= h.StartTime);
|
||||
|
||||
int startRange = (int)((h.StartTime - firstHit) / interval);
|
||||
int endRange = (int)((endTime - firstHit) / interval);
|
||||
|
Loading…
Reference in New Issue
Block a user