Skip to content

Commit

Permalink
Revert "Use full file path for temp replays (space-wizards#19002)" (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
PJB3005 authored Sep 28, 2023
1 parent f19cd90 commit bc21834
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Content.Server/GameTicking/GameTicker.Replays.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ private void ReplayStartRound()
{
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}");
}
Expand Down

0 comments on commit bc21834

Please sign in to comment.