mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00: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
|
||||
{
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user