Skip to content

Commit

Permalink
Remove erroneous SaveAssets
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Dec 4, 2024
1 parent ba9a296 commit 37bfcb1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Editor/Importers/YarnProjectImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -634,11 +634,9 @@ private void AddStringTableEntries(CompilationResult compilationResult, StringTa
}

// We've made changes to the table, so flag it and its shared
// data as dirty, and make sure that Unity's written the changes
// to disk.
// data as dirty.
EditorUtility.SetDirty(table);
EditorUtility.SetDirty(table.SharedData);
AssetDatabase.SaveAssets();
return;
}
Debug.LogWarning($"Unable to find a locale in the string table that matches the default locale {project.BaseLanguage}");
Expand Down

0 comments on commit 37bfcb1

Please sign in to comment.