mirror of
https://github.com/ppy/osu.git
synced 2025-03-16 05:37:19 +08:00
Do not delay inital mod update by a frame
This commit is contained in:
parent
e8701f46f1
commit
899b95e61b
@ -224,7 +224,8 @@ namespace osu.Game.Overlays.Mods
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
availableMods.BindValueChanged(_ => Scheduler.AddOnce(updateMods), true);
|
||||
availableMods.BindValueChanged(_ => Scheduler.AddOnce(updateMods));
|
||||
updateMods();
|
||||
}
|
||||
|
||||
private CancellationTokenSource? cancellationTokenSource;
|
||||
|
Loading…
x
Reference in New Issue
Block a user