mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-05 23:44:38 +01:00
Merge pull request #19 from Ottermandias/SmallFixes
Fix crash on new installs.
This commit is contained in:
commit
edc616da36
2 changed files with 2 additions and 2 deletions
|
|
@ -134,7 +134,7 @@ namespace Penumbra.UI
|
|||
|
||||
private void DrawAboutTab()
|
||||
{
|
||||
if( !_editMode && Meta.Description?.Length == 0 )
|
||||
if( !_editMode && ( Meta.Description?.Length ?? 0 ) == 0 )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ namespace Penumbra.UI
|
|||
|
||||
public void ResetModNamesLower()
|
||||
{
|
||||
_modNamesLower = Mods.ModSettings.Select( I => I.Mod.Meta.Name.ToLowerInvariant() ).ToArray();
|
||||
_modNamesLower = Mods?.ModSettings?.Select( I => I.Mod.Meta.Name.ToLowerInvariant() ).ToArray() ?? new string[]{};
|
||||
}
|
||||
|
||||
private void DrawPriorityChangeButton( string iconString, bool up, int unavailableWhen )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue