Mark Catcher.additiveTarget to never be null

And provide empty containers instead.
This commit is contained in:
Salman Ahmed
2020-04-22 05:04:07 +03:00
parent c8c2b51108
commit 95de2c6f7f
4 changed files with 7 additions and 4 deletions

View File

@ -33,7 +33,7 @@ namespace osu.Game.Rulesets.Catch.UI
{
RelativeSizeAxes = Axes.X;
Height = CATCHER_SIZE;
Child = MovableCatcher = new Catcher(difficulty, this);
Child = MovableCatcher = new Catcher(this, difficulty);
}
public static float GetCatcherSize(BeatmapDifficulty difficulty)