mirror of
https://github.com/ppy/osu
synced 2024-12-23 23:33:36 +00:00
Move LoadComplete up in method
This commit is contained in:
parent
7e6c194d4a
commit
6f1cecd86f
@ -42,6 +42,12 @@ namespace osu.Game.Online
|
||||
};
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
API?.Register(this);
|
||||
base.LoadComplete();
|
||||
}
|
||||
|
||||
public virtual void APIStateChanged(IAPIProvider api, APIState state)
|
||||
{
|
||||
switch (state)
|
||||
@ -78,12 +84,6 @@ namespace osu.Game.Online
|
||||
/// </summary>
|
||||
protected virtual void PopContentIn(Drawable content) => content.FadeIn(TRANSFORM_TIME, Easing.OutQuint);
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
API?.Register(this);
|
||||
base.LoadComplete();
|
||||
}
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
API?.Unregister(this);
|
||||
|
Loading…
Reference in New Issue
Block a user