mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
Better annotate initial rolling counter value set
This commit is contained in:
@ -147,7 +147,9 @@ namespace osu.Game.Overlays.Mods
|
|||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
current.BindValueChanged(_ => updateState(), true);
|
current.BindValueChanged(_ => updateState(), true);
|
||||||
FinishTransforms(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()
|
private void updateState()
|
||||||
|
Reference in New Issue
Block a user