1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Move BindValueChanged call to LoadComplete

This commit is contained in:
Dean Herbert 2021-05-03 20:11:24 +09:00
parent 625890381f
commit ca4b860920

View File

@ -97,7 +97,6 @@ namespace osu.Game.Screens.Play.HUD
};
Current.BindTo(scoreProcessor.Combo);
Current.BindValueChanged(combo => updateCount(combo.NewValue == 0), true);
}
protected override void LoadComplete()
@ -111,7 +110,7 @@ namespace osu.Game.Screens.Play.HUD
popOutCount.Origin = Origin;
popOutCount.Anchor = Anchor;
updateCount(false);
Current.BindValueChanged(combo => updateCount(combo.NewValue == 0), true);
}
private void updateCount(bool rolling)