Revert "Use full file path for temp replays (#19002)" (#20545)

This commit is contained in:
Pieter-Jan Briers
2023-09-28 12:49:49 +02:00
committed by GitHub
parent f19cd90694
commit bc218347a8

View File

@@ -43,7 +43,9 @@ public sealed partial class GameTicker
{
var baseReplayPath = new ResPath(_cfg.GetCVar(CVars.ReplayDirectory)).ToRootedPath();
moveToPath = baseReplayPath / finalPath;
recordPath = new ResPath(tempDir) / finalPath;
var fileName = finalPath.Filename;
recordPath = new ResPath(tempDir) / fileName;
_sawmillReplays.Debug($"Replay will record in temporary position: {recordPath}");
}