mirror of https://github.com/ppy/osu
Do not delay inital mod update by a frame
This commit is contained in:
parent
e8701f46f1
commit
899b95e61b
|
@ -224,7 +224,8 @@ private void load(OsuGameBase game, OverlayColourProvider colourProvider, OsuCol
|
|||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
availableMods.BindValueChanged(_ => Scheduler.AddOnce(updateMods), true);
|
||||
availableMods.BindValueChanged(_ => Scheduler.AddOnce(updateMods));
|
||||
updateMods();
|
||||
}
|
||||
|
||||
private CancellationTokenSource? cancellationTokenSource;
|
||||
|
|
Loading…
Reference in New Issue