1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 15:17:27 +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) if (objTime >= editorClock.CurrentTime)
continue; continue;
if (lastBefore == null || objTime > lastBefore?.StartTime) if (lastBefore == null || objTime > lastBefore.StartTime)
lastBefore = entry.Value.HitObject; lastBefore = entry.Value.HitObject;
} }
@ -148,7 +148,7 @@ namespace osu.Game.Rulesets.Edit
if (objTime < editorClock.CurrentTime) if (objTime < editorClock.CurrentTime)
continue; continue;
if (firstAfter == null || objTime < firstAfter?.StartTime) if (firstAfter == null || objTime < firstAfter.StartTime)
firstAfter = entry.Value.HitObject; firstAfter = entry.Value.HitObject;
} }