mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix temporary settings causing collection saves.
This commit is contained in:
parent
7d75c7d7a5
commit
7b517390b6
1 changed files with 2 additions and 1 deletions
|
|
@ -194,7 +194,8 @@ public class CollectionEditor(SaveService saveService, CommunicatorService commu
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
|
||||||
private void InvokeChange(ModCollection changedCollection, ModSettingChange type, Mod? mod, Setting oldValue, int groupIdx)
|
private void InvokeChange(ModCollection changedCollection, ModSettingChange type, Mod? mod, Setting oldValue, int groupIdx)
|
||||||
{
|
{
|
||||||
saveService.QueueSave(new ModCollectionSave(modStorage, changedCollection));
|
if (type is not ModSettingChange.TemporarySetting)
|
||||||
|
saveService.QueueSave(new ModCollectionSave(modStorage, changedCollection));
|
||||||
communicator.ModSettingChanged.Invoke(changedCollection, type, mod, oldValue, groupIdx, false);
|
communicator.ModSettingChanged.Invoke(changedCollection, type, mod, oldValue, groupIdx, false);
|
||||||
if (type is not ModSettingChange.TemporarySetting)
|
if (type is not ModSettingChange.TemporarySetting)
|
||||||
RecurseInheritors(changedCollection, type, mod, oldValue, groupIdx);
|
RecurseInheritors(changedCollection, type, mod, oldValue, groupIdx);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue