1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Fix incorrect variable

This commit is contained in:
Dan Balasescu 2021-12-21 12:39:07 +09:00
parent e21dbf10ff
commit c21b2d1662

View File

@ -48,7 +48,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
var currentObj = (OsuDifficultyHitObject)Previous[i];
var currentHitObject = (OsuHitObject)(currentObj.BaseObject);
lastObj ??= currentObj;
lastObj ??= osuCurrent;
if (!(currentObj.BaseObject is Spinner))
{