From 7411b45036b6472a7cab8c30acdf55b13242e886 Mon Sep 17 00:00:00 2001 From: Vasilis The Pikachu Date: Sun, 9 Mar 2025 22:55:44 +0100 Subject: [PATCH] Switch replay file extension to .rtreplay In preparation to https://github.com/space-wizards/SS14.Launcher/pull/136 --- Robust.Shared/Replays/SharedReplayRecordingManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Robust.Shared/Replays/SharedReplayRecordingManager.cs b/Robust.Shared/Replays/SharedReplayRecordingManager.cs index 656e9ff83b5..e54dfc4d74f 100644 --- a/Robust.Shared/Replays/SharedReplayRecordingManager.cs +++ b/Robust.Shared/Replays/SharedReplayRecordingManager.cs @@ -172,8 +172,8 @@ public virtual bool TryStartRecording( name ??= DefaultReplayFileName(); var filePath = new ResPath(name).Clean(); - if (filePath.Extension != "zip") - filePath = filePath.WithName(filePath.Filename + ".zip"); + if (filePath.Extension != "rtreplay") + filePath = filePath.WithName(filePath.Filename + ".rtreplay"); var basePath = new ResPath(NetConf.GetCVar(CVars.ReplayDirectory)).ToRootedPath(); filePath = basePath / filePath;