Force saving to be synchronous.

This commit is contained in:
Ottermandias 2024-07-28 13:48:11 +02:00
parent 4806f8dc3e
commit af0bbeb8bf

View file

@ -96,7 +96,7 @@ public class TemporaryMod : IMod
var manips = new MetaDictionary(collection.MetaCache);
defaultMod.Manipulations.UnionWith(manips);
saveService.ImmediateSave(new ModSaveGroup(dir, defaultMod, config.ReplaceNonAsciiOnImport));
saveService.ImmediateSaveSync(new ModSaveGroup(dir, defaultMod, config.ReplaceNonAsciiOnImport));
modManager.AddMod(dir);
Penumbra.Log.Information(
$"Successfully generated mod {mod.Name} at {mod.ModPath.FullName} for collection {collection.Identifier}.");