Fix replay recording temporary paths not supporting subdirectories (#19887)

This commit is contained in:
Leon Friedrich
2023-09-16 23:46:12 +12:00
committed by GitHub
parent ac0b8fe621
commit 7d9693d976
3 changed files with 64 additions and 6 deletions

View File

@@ -1776,6 +1776,7 @@ namespace Content.Shared.CCVar
/// <summary>
/// Path that, if provided, automatic replays are initially recorded in.
/// When the recording is done, the file is moved into its final destination.
/// Unless this path is rooted, it will be relative to <see cref="CVars.ReplayDirectory"/>.
/// </summary>
public static readonly CVarDef<string> ReplayAutoRecordTempDir =
CVarDef.Create("replay.auto_record_temp_dir", "", CVar.SERVERONLY);