mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 07:32:55 +08:00
Better annotate initial rolling counter value set
This commit is contained in:
parent
019f4d965d
commit
643f68e844
@ -147,7 +147,9 @@ namespace osu.Game.Overlays.Mods
|
||||
base.LoadComplete();
|
||||
current.BindValueChanged(_ => updateState(), true);
|
||||
FinishTransforms(true);
|
||||
multiplierCounter.StopRolling();
|
||||
// required to prevent the counter initially rolling up from 0 to 1
|
||||
// due to `Current.Value` having a nonstandard default value of 1.
|
||||
multiplierCounter.SetCountWithoutRolling(Current.Value);
|
||||
}
|
||||
|
||||
private void updateState()
|
||||
|
Loading…
Reference in New Issue
Block a user