mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-21 15:27:51 +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()
|
private void DrawAboutTab()
|
||||||
{
|
{
|
||||||
if( !_editMode && Meta.Description?.Length == 0 )
|
if( !_editMode && ( Meta.Description?.Length ?? 0 ) == 0 )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ namespace Penumbra.UI
|
||||||
|
|
||||||
public void ResetModNamesLower()
|
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 )
|
private void DrawPriorityChangeButton( string iconString, bool up, int unavailableWhen )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue