SHA256
forked from ADOFAIEditorForum/ADOFAIRenderer
Remove Redundant Directory Init
This commit is contained in:
1 file changed
+1
-3
@@ -505,7 +505,7 @@ namespace ADOFAIRenderer.Core
|
||||
if (RenderContext.OutputPath != null) _currentOutPath = RenderContext.OutputPath;
|
||||
else {
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -538,8 +538,6 @@ namespace ADOFAIRenderer.Core
|
||||
|
||||
videoFFmpeg = new FFmpegNativeEncoder(settings);
|
||||
|
||||
SetupCaptureDirectory();
|
||||
|
||||
_activeVideoFFmpeg = videoFFmpeg;
|
||||
lock (_allVideoFFmpegInstances)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user