mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 12:44:19 +01:00
Changed initial mod directory to be empty and prevent crashes on invalid or no root directories (also add some information to debug).
This commit is contained in:
parent
e41dedf9dd
commit
92e95400b0
9 changed files with 95 additions and 37 deletions
|
|
@ -1,5 +1,7 @@
|
|||
using System.Numerics;
|
||||
using ImGuiNET;
|
||||
using Penumbra.Mods;
|
||||
using Penumbra.Util;
|
||||
|
||||
namespace Penumbra.UI
|
||||
{
|
||||
|
|
@ -63,7 +65,7 @@ namespace Penumbra.UI
|
|||
_collectionsTab.Draw();
|
||||
_importTab.Draw();
|
||||
|
||||
if( !_importTab.IsImporting() )
|
||||
if( Service<ModManager>.Get().Valid && !_importTab.IsImporting() )
|
||||
{
|
||||
_browserTab.Draw();
|
||||
InstalledTab.Draw();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue