mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 02:32:55 +08:00
Fix back to front initialisation order
This commit is contained in:
parent
68aaf90702
commit
ca943a897a
@ -133,10 +133,11 @@ namespace osu.Game.Skinning
|
|||||||
|
|
||||||
protected override void LoadAsyncComplete()
|
protected override void LoadAsyncComplete()
|
||||||
{
|
{
|
||||||
base.LoadAsyncComplete();
|
// ensure samples are constructed before SkinChanged() is called via base.LoadAsyncComplete().
|
||||||
|
|
||||||
if (!samplesContainer.Any())
|
if (!samplesContainer.Any())
|
||||||
updateSamples();
|
updateSamples();
|
||||||
|
|
||||||
|
base.LoadAsyncComplete();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user