]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add roundid to replay_final.yml (#25398)
authorVasilis <vasilis@pikachu.systems>
Tue, 20 Feb 2024 23:33:18 +0000 (00:33 +0100)
committerGitHub <noreply@github.com>
Tue, 20 Feb 2024 23:33:18 +0000 (00:33 +0100)
oopsy i forgor

Content.Server/GameTicking/GameTicker.Replays.cs

index cbeac793b658fcb3a96da61ebd073b93b56ad5a7..e09e07b86737c68b2f8fd5d8512eb3ceef7df906 100644 (file)
@@ -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()