Fix incorrect exception

This commit is contained in:
Dean Herbert 2017-09-14 13:13:54 +09:00
parent fe90570d0f
commit 4f09f30b7a
1 changed files with 1 additions and 1 deletions

View File

@ -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);