mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 09:22:54 +08:00
Fix multiplier display resetting transformations
This commit is contained in:
parent
9fdeb20537
commit
7a1820e6bb
@ -146,8 +146,9 @@ namespace osu.Game.Overlays.Mods
|
|||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
|
|
||||||
current.BindValueChanged(_ => updateState(), true);
|
current.BindValueChanged(_ => updateState(), true);
|
||||||
FinishTransforms(true);
|
|
||||||
// required to prevent the counter initially rolling up from 0 to 1
|
// required to prevent the counter initially rolling up from 0 to 1
|
||||||
// due to `Current.Value` having a nonstandard default value of 1.
|
// due to `Current.Value` having a nonstandard default value of 1.
|
||||||
multiplierCounter.SetCountWithoutRolling(Current.Value);
|
multiplierCounter.SetCountWithoutRolling(Current.Value);
|
||||||
|
Loading…
Reference in New Issue
Block a user