Skip to content

Commit

Permalink
Fix incorrect variable
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Dec 21, 2021
1 parent e21dbf1 commit c21b2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Osu/Difficulty/Skills/Flashlight.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private double strainValueOf(DifficultyHitObject current)
var currentObj = (OsuDifficultyHitObject)Previous[i];
var currentHitObject = (OsuHitObject)(currentObj.BaseObject);

lastObj ??= currentObj;
lastObj ??= osuCurrent;

if (!(currentObj.BaseObject is Spinner))
{
Expand Down

0 comments on commit c21b2d1

Please sign in to comment.