Do not delay inital mod update by a frame

This commit is contained in:
Bartłomiej Dach 2022-02-28 21:46:58 +01:00
parent e8701f46f1
commit 899b95e61b
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497
1 changed files with 2 additions and 1 deletions

View File

@ -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;