Add sysinfo version to sysinfo query

This commit is contained in:
Oliver Brakmann
2017-01-29 20:45:35 +01:00
committed by Paul Chote
parent 54278ae8f3
commit a0b911d498

View File

@@ -291,7 +291,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
// Append system profile data if the player has opted in // Append system profile data if the player has opted in
if (Game.Settings.Debug.SendSystemInformation) if (Game.Settings.Debug.SendSystemInformation)
newsURL += "&" + GetSystemInformation() newsURL += "&sysinfoversion={0}&".F(SystemInformationVersion)
+ GetSystemInformation()
.Select(kv => kv.Key + "=" + Uri.EscapeUriString(kv.Value.Second)) .Select(kv => kv.Key + "=" + Uri.EscapeUriString(kv.Value.Second))
.JoinWith("&"); .JoinWith("&");