Load the load screen images from the virtual filesystem.

This commit is contained in:
Paul Chote
2016-02-07 16:18:55 +00:00
parent 79b039d8b9
commit f8992991f5
4 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ namespace OpenRA.Mods.Cnc
r = Game.Renderer;
if (r == null) return;
using (var stream = File.OpenRead(Platform.ResolvePath(loadInfo["Image"])))
using (var stream = modData.ModFiles.Open(info["Image"]))
sheet = new Sheet(SheetType.BGRA, stream);
var res = r.Resolution;