1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:07:52 +08:00

Use ObjectPositionInfo.HitObject

This commit is contained in:
Henry Lin 2022-03-10 11:23:52 +08:00
parent e8dbed738e
commit ede838c4b3

View File

@ -70,11 +70,10 @@ namespace osu.Game.Rulesets.Osu.Utils
{
ObjectPositionInfo? previous = null;
for (int i = 0; i < hitObjects.Count; i++)
for (int i = 0; i < objectPositionInfos.Count; i++)
{
var hitObject = hitObjects[i];
var current = objectPositionInfos[i];
var hitObject = current.HitObject;
if (hitObject is Spinner)
{