Skip to content

Commit

Permalink
Merge pull request #18 from Ottermandias/SmallFixes
Browse files Browse the repository at this point in the history
Big oof.
  • Loading branch information
NotAdam authored Feb 17, 2021
2 parents 7d23505 + 9ab08e2 commit c531f4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Penumbra/Importer/TexToolsImport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ private void ImportExtendedV2ModPack( ZipFile extractedModPack, string modRaw )
);
}

private void AddMeta( DirectoryInfo baseFolder, DirectoryInfo groupFolder, ModGroup group, ModMeta meta )
private static void AddMeta( DirectoryInfo baseFolder, DirectoryInfo groupFolder, ModGroup group, ModMeta meta )
{
var Inf = new InstallerInfo
{
Expand All @@ -257,7 +257,7 @@ private void AddMeta( DirectoryInfo baseFolder, DirectoryInfo groupFolder, ModGr
OptionFiles = new Dictionary< string, HashSet< string > >()
};
var optDir = new DirectoryInfo( Path.Combine( groupFolder.FullName, opt.Name.ReplaceInvalidPathSymbols() ) );
if( !optDir.Exists )
if( optDir.Exists )
{
foreach( var file in optDir.EnumerateFiles( "*.*", SearchOption.AllDirectories ) )
{
Expand Down

0 comments on commit c531f4d

Please sign in to comment.