Remove checking for available mods in the mod panel so you can create empty mods from the start.

This commit is contained in:
Ottermandias 2021-11-16 16:05:03 +01:00
parent ba2ffcc790
commit cd74a41453

View file

@ -23,11 +23,6 @@ namespace Penumbra.UI
_modManager = Service< ModManager >.Get();
}
private static void DrawNoModsAvailable()
{
ImGui.Text( "You don't have any mods :(" );
}
public void Draw()
{
var ret = ImGui.BeginTabItem( LabelTab );
@ -38,16 +33,9 @@ namespace Penumbra.UI
using var raii = ImGuiRaii.DeferredEnd( ImGui.EndTabItem );
if( _modManager.Mods.Count > 0 )
{
Selector.Draw();
ImGui.SameLine();
ModPanel.Draw();
}
else
{
DrawNoModsAvailable();
}
Selector.Draw();
ImGui.SameLine();
ModPanel.Draw();
}
}
}