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:
parent
fc393559e4
commit
976ae5a466
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue