1
0
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:
Dean Herbert 2021-03-20 10:51:58 +09:00
parent 68aaf90702
commit ca943a897a

View File

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