Don't use Platform.ResolvePath when constructing hardcoded paths.
This commit is contained in:
@@ -264,7 +264,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
{
|
||||
if (newsBG != null && Game.Settings.Game.FetchNews)
|
||||
{
|
||||
var cacheFile = Platform.ResolvePath(Platform.SupportDirPrefix, webServices.GameNewsFileName);
|
||||
var cacheFile = Path.Combine(Platform.SupportDir, webServices.GameNewsFileName);
|
||||
var currentNews = ParseNews(cacheFile);
|
||||
if (currentNews != null)
|
||||
DisplayNews(currentNews);
|
||||
|
||||
Reference in New Issue
Block a user