mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-23 08:17:59 +01:00
Wait for saves to finish when the file might be read immediately after saving.
This commit is contained in:
parent
a9f36c6aef
commit
bb742463e9
6 changed files with 10 additions and 9 deletions
|
|
@ -14,7 +14,7 @@ internal static class ModCollectionMigration
|
|||
{
|
||||
var changes = MigrateV0ToV1(collection, ref version);
|
||||
if (changes)
|
||||
saver.ImmediateSave(new ModCollectionSave(mods, collection));
|
||||
saver.ImmediateSaveSync(new ModCollectionSave(mods, collection));
|
||||
}
|
||||
|
||||
/// <summary> Migrate a mod collection from Version 0 to Version 1, which introduced support for inheritance. </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue