Remove pointless null check

This commit is contained in:
Dean Herbert 2022-07-28 18:28:03 +09:00
parent d5e5761892
commit bfa026879c

View File

@ -15,7 +15,7 @@ namespace osu.Game.Skinning
{
public class LegacySongProgress : SongProgress
{
private CircularProgress? pie;
private CircularProgress pie = null!;
[BackgroundDependencyLoader]
private void load()
@ -72,9 +72,6 @@ namespace osu.Game.Skinning
protected override void UpdateProgress(double progress, bool isIntro)
{
if (pie == null)
return;
if (isIntro)
{
pie.Scale = new Vector2(-1, 1);