Remove unnecessary virtual specs

This commit is contained in:
Bartłomiej Dach
2021-11-10 12:00:36 +01:00
parent 577bdade5b
commit 6d04823b05
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.Catch.Mods
MaxValue = 50,
};
public virtual void Update(Playfield playfield)
public void Update(Playfield playfield)
{
var catchPlayfield = (CatchPlayfield)playfield;
bool shouldAlwaysShowCatcher = IsBreakTime.Value;

View File

@ -39,7 +39,7 @@ namespace osu.Game.Rulesets.Osu.Mods
spinnerPeriods = new PeriodTracker(beatmap.HitObjects.OfType<Spinner>().Select(b => new Period(b.StartTime - TRANSITION_DURATION, b.EndTime)));
}
public virtual void Update(Playfield playfield)
public void Update(Playfield playfield)
{
bool shouldAlwaysShowCursor = IsBreakTime.Value || spinnerPeriods.IsInAny(playfield.Clock.CurrentTime);
float targetAlpha = shouldAlwaysShowCursor ? 1 : ComboBasedAlpha;