Fix crash if mod has no description (shouldn't happen though).

This commit is contained in:
Ottermandias 2021-02-18 20:17:49 +01:00
parent 3944601c99
commit ba01798ae9

View file

@ -134,7 +134,7 @@ namespace Penumbra.UI
private void DrawAboutTab() private void DrawAboutTab()
{ {
if( !_editMode && Meta.Description?.Length == 0 ) if( !_editMode && ( Meta.Description?.Length ?? 0 ) == 0 )
{ {
return; return;
} }