Replace ^ and . in platform paths with ^SupportDir and ^EngineDir.

This commit is contained in:
Paul Chote
2020-11-21 15:35:41 +00:00
committed by teinarss
parent 1cc1f93fb0
commit dd0b08d54a
36 changed files with 6205 additions and 6210 deletions

View File

@@ -72,7 +72,7 @@ namespace OpenRA.Mods.Common.LoadScreens
density = 2;
}
using (var stream = ModData.DefaultFileSystem.Open(Info[key]))
using (var stream = ModData.DefaultFileSystem.Open(Platform.ResolvePath(Info[key])))
{
sheet = new Sheet(SheetType.BGRA, stream);
sheet.GetTexture().ScaleFilter = TextureScaleFilter.Linear;