mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Remove pointless null check
This commit is contained in:
parent
d5e5761892
commit
bfa026879c
@ -15,7 +15,7 @@ namespace osu.Game.Skinning
|
|||||||
{
|
{
|
||||||
public class LegacySongProgress : SongProgress
|
public class LegacySongProgress : SongProgress
|
||||||
{
|
{
|
||||||
private CircularProgress? pie;
|
private CircularProgress pie = null!;
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
@ -72,9 +72,6 @@ namespace osu.Game.Skinning
|
|||||||
|
|
||||||
protected override void UpdateProgress(double progress, bool isIntro)
|
protected override void UpdateProgress(double progress, bool isIntro)
|
||||||
{
|
{
|
||||||
if (pie == null)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (isIntro)
|
if (isIntro)
|
||||||
{
|
{
|
||||||
pie.Scale = new Vector2(-1, 1);
|
pie.Scale = new Vector2(-1, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user