mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-21 07:17:53 +01:00
Almost there...
This commit is contained in:
parent
f3b906007d
commit
65bd1d1b52
59 changed files with 4733 additions and 6194 deletions
|
|
@ -65,24 +65,19 @@ public sealed partial class Mod2
|
|||
_mods.Clear();
|
||||
BasePath.Refresh();
|
||||
|
||||
// TODO
|
||||
//StructuredMods.SubFolders.Clear();
|
||||
//StructuredMods.Mods.Clear();
|
||||
if( Valid && BasePath.Exists )
|
||||
{
|
||||
foreach( var modFolder in BasePath.EnumerateDirectories() )
|
||||
{
|
||||
//var mod = LoadMod( StructuredMods, modFolder );
|
||||
//if( mod == null )
|
||||
//{
|
||||
// continue;
|
||||
//}
|
||||
//
|
||||
//mod.Index = _mods.Count;
|
||||
//_mods.Add( mod );
|
||||
var mod = LoadMod( modFolder );
|
||||
if( mod == null )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
mod.Index = _mods.Count;
|
||||
_mods.Add( mod );
|
||||
}
|
||||
|
||||
//SetModStructure();
|
||||
}
|
||||
|
||||
ModDiscoveryFinished?.Invoke();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue