mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Fix all files getting added to the default option on import.
This commit is contained in:
parent
0ff46fa860
commit
ee87098386
1 changed files with 1 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ public partial class Mod
|
||||||
internal static void CreateDefaultFiles( DirectoryInfo directory )
|
internal static void CreateDefaultFiles( DirectoryInfo directory )
|
||||||
{
|
{
|
||||||
var mod = new Mod( directory );
|
var mod = new Mod( directory );
|
||||||
|
mod.Reload( out _ );
|
||||||
foreach( var file in mod.FindUnusedFiles() )
|
foreach( var file in mod.FindUnusedFiles() )
|
||||||
{
|
{
|
||||||
if( Utf8GamePath.FromFile( new FileInfo( file.FullName ), directory, out var gamePath, true ) )
|
if( Utf8GamePath.FromFile( new FileInfo( file.FullName ), directory, out var gamePath, true ) )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue