Merge branch 'loceditor_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-loceditor_fix

This commit is contained in:
Wojtek Figat
2025-04-12 22:36:53 +02:00
3 changed files with 10 additions and 3 deletions

View File

@@ -137,7 +137,7 @@ namespace FlaxEditor.CustomEditors.Dedicated
table.Entries = entries;
if (!table.Save(path))
{
Object.Destroy(table);
Object.DestroyNow(table);
newTables.Add(FlaxEngine.Content.LoadAsync<LocalizedStringTable>(path));
}
}
@@ -153,7 +153,7 @@ namespace FlaxEditor.CustomEditors.Dedicated
table.Locale = culture.Name;
if (!table.Save(path))
{
Object.Destroy(table);
Object.DestroyNow(table);
newTables.Add(FlaxEngine.Content.LoadAsync<LocalizedStringTable>(path));
}
}