From: Vasilis Date: Tue, 20 Feb 2024 23:33:18 +0000 (+0100) Subject: Add roundid to replay_final.yml (#25398) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=5170593e853ab074f4351281073e4da4e39324bd;p=space-station-14.git Add roundid to replay_final.yml (#25398) oopsy i forgor --- diff --git a/Content.Server/GameTicking/GameTicker.Replays.cs b/Content.Server/GameTicking/GameTicker.Replays.cs index cbeac793b6..e09e07b867 100644 --- a/Content.Server/GameTicking/GameTicker.Replays.cs +++ b/Content.Server/GameTicking/GameTicker.Replays.cs @@ -1,4 +1,4 @@ -using Content.Shared.CCVar; +using Content.Shared.CCVar; using Robust.Shared; using Robust.Shared.ContentPack; using Robust.Shared.Replays; @@ -128,6 +128,7 @@ public sealed partial class GameTicker metadata["roundEndPlayers"] = _serialman.WriteValue(_replayRoundPlayerInfo); metadata["roundEndText"] = new ValueDataNode(_replayRoundText); metadata["server_id"] = new ValueDataNode(_configurationManager.GetCVar(CCVars.ServerId)); + metadata["roundId"] = new ValueDataNode(RoundId.ToString()); } private ResPath GetAutoReplayPath()