Skip to content

Commit

Permalink
Revert #91
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed Aug 6, 2020
1 parent 110a62d commit 4501d01
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions osu.Game.Rulesets.Sentakki/UI/DrawableSentakkiRuleset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,17 @@ public DrawableSentakkiRuleset(SentakkiRuleset ruleset, IBeatmap beatmap, IReadO
{
}

private Track speedAdjustmentTrack => workingBeatmap.Value.Track;
private readonly Track speedAdjustmentTrack = new TrackVirtual(0);

public double GameplaySpeed => speedAdjustmentTrack.Rate;

private Bindable<WorkingBeatmap> workingBeatmap;

[BackgroundDependencyLoader(true)]
private void load(Bindable<WorkingBeatmap> WorkingBeatmap)
private void load()
{
workingBeatmap = WorkingBeatmap;
foreach (var mod in Mods.OfType<IApplicableToTrack>())
mod.ApplyToTrack(speedAdjustmentTrack);
}

protected override Playfield CreatePlayfield() => new SentakkiPlayfield();

protected override ReplayInputHandler CreateReplayInputHandler(Replay replay) => new SentakkiFramedReplayInputHandler(replay);
Expand Down

0 comments on commit 4501d01

Please sign in to comment.