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:
parent
7dd1479050
commit
826699a7e7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user