1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-24 19:17:20 +08:00

Remove unneeded bindable

This commit is contained in:
Welsar55 2019-06-26 12:16:44 -05:00
parent 7dd1479050
commit 826699a7e7

View File

@ -81,8 +81,6 @@ namespace osu.Game.Screens.Play
[Cached(Type = typeof(IBindable<IReadOnlyList<Mod>>))]
protected new readonly Bindable<IReadOnlyList<Mod>> Mods = new Bindable<IReadOnlyList<Mod>>(Array.Empty<Mod>());
protected readonly BindableInt Combo = new BindableInt();
private readonly bool allowPause;
private readonly bool showResults;
@ -117,8 +115,7 @@ namespace osu.Game.Screens.Play
ScoreProcessor = DrawableRuleset.CreateScoreProcessor();
ScoreProcessor.Mods.BindTo(Mods);
ScoreProcessor.Combo.BindTo(Combo);
Combo.BindValueChanged(onComboChange);
ScoreProcessor.Combo.BindValueChanged(onComboChange);
if (!ScoreProcessor.Mode.Disabled)
config.BindWith(OsuSetting.ScoreDisplayMode, ScoreProcessor.Mode);