mirror of https://github.com/ppy/osu
Fix incorrect exception
This commit is contained in:
parent
fe90570d0f
commit
4f09f30b7a
|
@ -38,7 +38,7 @@ public IEnumerable<HitObject> Objects
|
|||
{
|
||||
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