Skip to content

Commit 7b51739

Browse files
committed
Fix temporary settings causing collection saves.
1 parent 7d75c7d commit 7b51739

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Penumbra/Collections/Manager/CollectionEditor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ private static bool FixInheritance(ModCollection collection, Mod mod, bool inher
194194
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
195195
private void InvokeChange(ModCollection changedCollection, ModSettingChange type, Mod? mod, Setting oldValue, int groupIdx)
196196
{
197-
saveService.QueueSave(new ModCollectionSave(modStorage, changedCollection));
197+
if (type is not ModSettingChange.TemporarySetting)
198+
saveService.QueueSave(new ModCollectionSave(modStorage, changedCollection));
198199
communicator.ModSettingChanged.Invoke(changedCollection, type, mod, oldValue, groupIdx, false);
199200
if (type is not ModSettingChange.TemporarySetting)
200201
RecurseInheritors(changedCollection, type, mod, oldValue, groupIdx);

0 commit comments

Comments
 (0)