mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +09:00
Add comment about lazy usage
This commit is contained in:
parent
6e3a63dae8
commit
7b82121b85
@ -45,6 +45,7 @@ namespace osu.Game.Rulesets.Osu
|
|||||||
|
|
||||||
private void sourceChanged()
|
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>(() =>
|
configuration = new Lazy<SkinConfiguration>(() =>
|
||||||
{
|
{
|
||||||
var config = new SkinConfiguration();
|
var config = new SkinConfiguration();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user