Remove Redundant Directory Init

This commit is contained in:
copecone committed 2026-08-18 11:39:51 +09:00
1 parent 5ef14680ba
commit 41a961ce1e
1 file changed
+1 -3
+1 -3
View File
@@ -505,7 +505,7 @@ namespace ADOFAIRenderer.Core
if (RenderContext.OutputPath != null) _currentOutPath = RenderContext.OutputPath; if (RenderContext.OutputPath != null) _currentOutPath = RenderContext.OutputPath;
else { else {
var fileName = startTime.ToString("yyyy-MM-dd HH-mm-ss") + var fileName = startTime.ToString("yyyy-MM-dd HH-mm-ss") +
$".{Configuration.AdvancedConfig.FileExtension}"; $".{Configuration.AdvancedConfig.FileExtension.TrimStart('.').ToLower()}";
_currentOutPath = Path.Combine(MelonEnvironment.GameRootDirectory, "Render", fileName); _currentOutPath = Path.Combine(MelonEnvironment.GameRootDirectory, "Render", fileName);
} }
@@ -538,8 +538,6 @@ namespace ADOFAIRenderer.Core
videoFFmpeg = new FFmpegNativeEncoder(settings); videoFFmpeg = new FFmpegNativeEncoder(settings);
SetupCaptureDirectory();
_activeVideoFFmpeg = videoFFmpeg; _activeVideoFFmpeg = videoFFmpeg;
lock (_allVideoFFmpegInstances) lock (_allVideoFFmpegInstances)
{ {