mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Mark Catcher.additiveTarget to never be null
And provide empty containers instead.
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using JetBrains.Annotations;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Animations;
|
||||
@ -116,7 +117,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
||||
private int hyperDashDirection;
|
||||
private float hyperDashTargetPosition;
|
||||
|
||||
public Catcher(BeatmapDifficulty difficulty = null, Container additiveTarget = null)
|
||||
public Catcher([NotNull] Container additiveTarget, BeatmapDifficulty difficulty = null)
|
||||
{
|
||||
this.additiveTarget = additiveTarget;
|
||||
|
||||
|
Reference in New Issue
Block a user