mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
Fix disabling a inheritance not removing the mod correctly.
This commit is contained in:
parent
bf58c6b098
commit
d2eae54149
1 changed files with 4 additions and 3 deletions
|
|
@ -87,13 +87,13 @@ public partial class ModCollection
|
|||
ReloadMod( Penumbra.ModManager[ modIdx ], true );
|
||||
break;
|
||||
case ModSettingChange.EnableState:
|
||||
if( oldValue != 1 )
|
||||
if( _collection.Settings[ modIdx ]!.Enabled )
|
||||
{
|
||||
AddMod( Penumbra.ModManager[ modIdx ], true );
|
||||
AddMod( Penumbra.ModManager[modIdx], true );
|
||||
}
|
||||
else
|
||||
{
|
||||
RemoveMod( Penumbra.ModManager[ modIdx ], true );
|
||||
RemoveMod( Penumbra.ModManager[modIdx], true );
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
@ -257,6 +257,7 @@ public partial class ModCollection
|
|||
{
|
||||
AddMetaFiles();
|
||||
}
|
||||
|
||||
if( _collection == Penumbra.CollectionManager.Default )
|
||||
{
|
||||
Penumbra.ResidentResources.Reload();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue