Use a shared url for news updates. Fixes #5603.
This commit is contained in:
@@ -35,7 +35,6 @@ namespace OpenRA
|
||||
public readonly InstallData ContentInstaller;
|
||||
public readonly Dictionary<string, Pair<string, int>> Fonts;
|
||||
public readonly Size TileSize = new Size(24, 24);
|
||||
public readonly string NewsUrl;
|
||||
public readonly TileShape TileShape = TileShape.Rectangle;
|
||||
|
||||
public Manifest(string mod)
|
||||
@@ -97,9 +96,6 @@ namespace OpenRA
|
||||
compat.Add(c.Trim());
|
||||
|
||||
MapCompatibility = compat.ToArray();
|
||||
|
||||
if (yaml.ContainsKey("NewsUrl"))
|
||||
NewsUrl = yaml["NewsUrl"].Value;
|
||||
}
|
||||
|
||||
static string[] YamlList(Dictionary<string, MiniYaml> yaml, string key)
|
||||
|
||||
@@ -141,6 +141,7 @@ namespace OpenRA
|
||||
public string MapRepository = "http://resource.openra.net/map/";
|
||||
|
||||
public bool FetchNews = true;
|
||||
public string NewsUrl = "http://www.openra.net/gamenews";
|
||||
public DateTime NewsFetchedDate;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user