1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 20:44:48 +08:00

Add disappeared null check

This commit is contained in:
Dean Herbert
2019-07-30 23:44:47 +09:00
Unverified
parent f9c95e21be
commit f6b6fa9633
+2 -1
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;
}
}