diff --git a/FavCat/CustomLists/CustomPicker.cs b/FavCat/CustomLists/CustomPicker.cs index 1d362d0..56cce48 100644 --- a/FavCat/CustomLists/CustomPicker.cs +++ b/FavCat/CustomLists/CustomPicker.cs @@ -106,7 +106,8 @@ private void OnEnable() private void OnDisable() { - myImage.texture = null; + if (myImage != null) + myImage.texture = null; } } } \ No newline at end of file