diff --git a/osu.Game/Online/API/APIAccess.cs b/osu.Game/Online/API/APIAccess.cs
index 4d039e0b8a..054c57ed75 100644
--- a/osu.Game/Online/API/APIAccess.cs
+++ b/osu.Game/Online/API/APIAccess.cs
@@ -70,13 +70,15 @@ public APIAccess(OsuConfigManager config)
internal new void Schedule(Action action) => base.Schedule(action);
+ ///
+ /// Register a component to receive API events.
+ /// Fires once immediately to ensure correct .
+ ///
+ ///
public void Register(IOnlineComponent component)
{
- Scheduler.Add(delegate
- {
- components.Add(component);
- component.APIStateChanged(this, state);
- });
+ Scheduler.Add(delegate { components.Add(component); });
+ component.APIStateChanged(this, state);
}
public void Unregister(IOnlineComponent component)