mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-31 12:53:47 +01:00
Final fixes for GameData.
This commit is contained in:
parent
702f8e3967
commit
ea40d5bc9c
20 changed files with 133 additions and 153 deletions
|
|
@ -161,7 +161,7 @@ namespace Penumbra.Mod
|
|||
var duplicates = FindOrCreateDuplicates( _mod );
|
||||
if( !inOption1 )
|
||||
{
|
||||
duplicates.AddFile( relName2, relName2.ToGamePath() );
|
||||
duplicates.AddFile( relName1, relName2.ToGamePath() );
|
||||
}
|
||||
|
||||
if( !inOption2 )
|
||||
|
|
|
|||
|
|
@ -31,18 +31,19 @@ namespace Penumbra.Mod
|
|||
|
||||
public void ComputeChangedItems()
|
||||
{
|
||||
var identifier = GameData.GameData.GetIdentifier();
|
||||
ChangedItems.Clear();
|
||||
foreach( var file in Resources.ModFiles.Select( f => new RelPath( f, BasePath ) ) )
|
||||
{
|
||||
foreach( var path in ModFunctions.GetAllFiles( file, Meta ) )
|
||||
{
|
||||
ObjectIdentifier.Identify( ChangedItems, path );
|
||||
identifier.Identify( ChangedItems, path );
|
||||
}
|
||||
}
|
||||
|
||||
foreach( var path in Meta.FileSwaps.Keys )
|
||||
{
|
||||
ObjectIdentifier.Identify( ChangedItems, path );
|
||||
identifier.Identify( ChangedItems, path );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ namespace Penumbra.Mod
|
|||
|
||||
if( ret.Count == 0 )
|
||||
{
|
||||
ret.Add( relPath.ToGamePath( ) );
|
||||
ret.Add( relPath.ToGamePath() );
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue