Scene re-read through SceneManager.ReloadContent

This commit is contained in:
cthangover committed 2026-10-22 19:14:55 +02:00
1 parent 972df5ccff
commit 3b2c1ddb95
5 files changed
+11 -22

No files matched your search

+1 -1
View File
@@ -246,7 +246,7 @@ namespace Cthangover.Core.UI.Tool.ScenarioEditor
_editTabs.SaveCurrentFile();
// The running game caches scenario headers and texts: drop them, so a new or
// edited scenario plays on the next entry into its scene without a mod reload.
SceneFileService.RefreshGame();
SceneManager.ReloadContent();
SetStatus(string.Format(ToolUi.Tr("tools/common/saved"), ScenarioFileService.GetDisplayPath(modId, relativePath)), ToolStatusKind.Ok);
_infoPanel.Update(text);
_thumbPanel.Load(text);