diff --git a/Content.Server/GameTicking/GameTicker.Replays.cs b/Content.Server/GameTicking/GameTicker.Replays.cs index 42e2de0228..03cf748d09 100644 --- a/Content.Server/GameTicking/GameTicker.Replays.cs +++ b/Content.Server/GameTicking/GameTicker.Replays.cs @@ -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}"); }