1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-16 01:03:21 +08:00

Fix incorrect exception

This commit is contained in:
Dean Herbert 2017-09-14 13:13:54 +09:00
parent fe90570d0f
commit 4f09f30b7a

View File

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