Fix Preset Label Not Matching Loaded Config Values

This commit is contained in:
copecone committed 2026-10-13 11:01:37 +09:00
1 parent ea8d4c91ac
commit 6955762641
2 files changed
+63 -17

No files matched your search

+3 -1
View File
@@ -520,7 +520,9 @@ public class RenderSession
}
RenderManager.Instance.levelPath = levelPath;
RenderManager.Instance.Configuration = renderConfig;
// The render uses its own copy of the configuration: values adjusted during the render
// (e.g. the audio sample rate in SetupPlay) stay in this copy and do not change the caller's object.
RenderManager.Instance.Configuration = renderConfig.Clone();
RenderManager.Instance.stage = RenderStage.Load;