Use engine version for master server queries.

This commit is contained in:
Paul Chote
2017-06-03 16:12:22 +00:00
committed by Oliver Brakmann
parent 49f0e35bd7
commit f7db7e3308
3 changed files with 16 additions and 2 deletions

View File

@@ -287,7 +287,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
{
// Send the mod and engine version to support version-filtered news (update prompts)
newsURL += "?version={0}&mod={1}&modversion={2}".F(
Uri.EscapeUriString(Game.Mods["modcontent"].Metadata.Version),
Uri.EscapeUriString(Game.EngineVersion),
Uri.EscapeUriString(Game.ModData.Manifest.Id),
Uri.EscapeUriString(Game.ModData.Manifest.Metadata.Version));