Add server name into the replay final (#25564)

Turns out this is not what serverid was for... i guess you can find server familys with this so im not gonna remove it. Best we get for server name is the admin logs server name.

(cherry picked from commit 3ef4e835583b99b020c0bb317be99cb06ade2ec9)
This commit is contained in:
Vasilis 2024-02-25 23:44:05 +01:00 committed by Debug
parent fc393559e4
commit 976ae5a466
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
1 changed files with 1 additions and 0 deletions

View File

@ -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["server_name"] = new ValueDataNode(_configurationManager.GetCVar(CCVars.AdminLogsServerName));
metadata["roundId"] = new ValueDataNode(RoundId.ToString());
}