Changed usage of CTexture.Index: You only need to check for null as of last commit
This commit is contained in:
1 parent
142a690cc6
commit
e43f5e7b0a
8 files changed
+37
-51
No files matched your search
@@ -46,7 +46,7 @@ namespace VocaluxeLib.Menu.SongMenu
|
||||
get { return _CoverTextureBig ?? _CoverTextureSmall; }
|
||||
set
|
||||
{
|
||||
if (value.Index == -1)
|
||||
if (value == null)
|
||||
return;
|
||||
_CoverTextureBig = value;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user