mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-19 15:14:25 +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,7 +87,7 @@ public partial class ModCollection
|
||||||
ReloadMod( Penumbra.ModManager[ modIdx ], true );
|
ReloadMod( Penumbra.ModManager[ modIdx ], true );
|
||||||
break;
|
break;
|
||||||
case ModSettingChange.EnableState:
|
case ModSettingChange.EnableState:
|
||||||
if( oldValue != 1 )
|
if( _collection.Settings[ modIdx ]!.Enabled )
|
||||||
{
|
{
|
||||||
AddMod( Penumbra.ModManager[modIdx], true );
|
AddMod( Penumbra.ModManager[modIdx], true );
|
||||||
}
|
}
|
||||||
|
|
@ -257,6 +257,7 @@ public partial class ModCollection
|
||||||
{
|
{
|
||||||
AddMetaFiles();
|
AddMetaFiles();
|
||||||
}
|
}
|
||||||
|
|
||||||
if( _collection == Penumbra.CollectionManager.Default )
|
if( _collection == Penumbra.CollectionManager.Default )
|
||||||
{
|
{
|
||||||
Penumbra.ResidentResources.Reload();
|
Penumbra.ResidentResources.Reload();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue