From cd48cb18874f328e0df98b21a8d63defe71ddbfb Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 6 Apr 2018 15:17:39 +0900 Subject: [PATCH] Add comment --- .../Screens/Edit/Screens/Compose/Layers/HitObjectMaskLayer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osu.Game/Screens/Edit/Screens/Compose/Layers/HitObjectMaskLayer.cs b/osu.Game/Screens/Edit/Screens/Compose/Layers/HitObjectMaskLayer.cs index 88f865be20..423cf0ed29 100644 --- a/osu.Game/Screens/Edit/Screens/Compose/Layers/HitObjectMaskLayer.cs +++ b/osu.Game/Screens/Edit/Screens/Compose/Layers/HitObjectMaskLayer.cs @@ -21,7 +21,9 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Layers public HitObjectMaskLayer(Playfield playfield, HitObjectComposer composer) { + // we need the playfield as HitObjects may not be initialised until its BDL. this.playfield = playfield; + this.composer = composer; RelativeSizeAxes = Axes.Both;