1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Add disappeared null check

This commit is contained in:
Dean Herbert 2019-07-30 23:44:47 +09:00
parent f9c95e21be
commit f6b6fa9633

View File

@ -365,7 +365,8 @@ namespace osu.Game.Skinning
get => base.Texture;
set
{
value.ScaleAdjust *= 2f;
if (value != null)
value.ScaleAdjust *= 2f;
base.Texture = value;
}
}