Content re-read through SceneManager.ReloadContent
This commit is contained in:
1 parent
92d78d07cd
commit
164194ef50
3 files changed
+5
-14
No files matched your search
@@ -582,7 +582,7 @@ namespace Cthangover.Mods.ScenarioStudio.Tests.Live
|
||||
if (string.IsNullOrEmpty(root) || !Directory.Exists(root))
|
||||
return;
|
||||
ModOverlays.Unmount(StudioLayer.Id);
|
||||
StudioLayer.RefreshContent();
|
||||
SceneManager.ReloadContent();
|
||||
Directory.Delete(root, true);
|
||||
var parent = Path.GetDirectoryName(root);
|
||||
if (parent != null && Directory.GetFileSystemEntries(parent).Length == 0)
|
||||
|
||||
Reference in new issue
Block a user