1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:13:34 +08:00

Fix inspections

This commit is contained in:
Dean Herbert 2024-02-26 15:45:29 +08:00
parent 4c744ccb69
commit 9a46e738bd
No known key found for this signature in database

View File

@ -132,7 +132,7 @@ namespace osu.Game.Rulesets.Edit
if (objTime >= editorClock.CurrentTime)
continue;
if (lastBefore == null || objTime > lastBefore?.StartTime)
if (lastBefore == null || objTime > lastBefore.StartTime)
lastBefore = entry.Value.HitObject;
}
@ -148,7 +148,7 @@ namespace osu.Game.Rulesets.Edit
if (objTime < editorClock.CurrentTime)
continue;
if (firstAfter == null || objTime < firstAfter?.StartTime)
if (firstAfter == null || objTime < firstAfter.StartTime)
firstAfter = entry.Value.HitObject;
}