Replace ^ and . in platform paths with ^SupportDir and ^EngineDir.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user