mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 10:33:07 +08:00
Add disappeared null check
This commit is contained in:
parent
f9c95e21be
commit
f6b6fa9633
@ -365,7 +365,8 @@ namespace osu.Game.Skinning
|
||||
get => base.Texture;
|
||||
set
|
||||
{
|
||||
value.ScaleAdjust *= 2f;
|
||||
if (value != null)
|
||||
value.ScaleAdjust *= 2f;
|
||||
base.Texture = value;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user