mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Fix reload problems on file changes.
This commit is contained in:
parent
d99707f77e
commit
6c26943cb7
2 changed files with 2 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ namespace Penumbra.Mod
|
|||
[Flags]
|
||||
public enum ResourceChange
|
||||
{
|
||||
None = 0,
|
||||
Files = 1,
|
||||
Meta = 2,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ namespace Penumbra.Mods
|
|||
var metaChanges = mod.Meta.RefreshFromFile( mod.MetaFile );
|
||||
var fileChanges = mod.Resources.RefreshModFiles( mod.BasePath );
|
||||
|
||||
if( !( recomputeMeta || metaChanges || fileChanges == 0 ) )
|
||||
if( !recomputeMeta && !metaChanges && fileChanges == 0 )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue