1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 19:22:54 +08:00

Add comment about lazy usage

This commit is contained in:
Dean Herbert 2019-08-26 13:03:00 +09:00
parent 6e3a63dae8
commit 7b82121b85

View File

@ -45,6 +45,7 @@ namespace osu.Game.Rulesets.Osu
private void sourceChanged()
{
// these need to be lazy in order to ensure they aren't called before the dependencies have been loaded into our source.
configuration = new Lazy<SkinConfiguration>(() =>
{
var config = new SkinConfiguration();