Load assets using absolute paths. Fixes #6717.
This commit is contained in:
@@ -37,7 +37,7 @@ namespace OpenRA.Mods.RA
|
||||
return;
|
||||
|
||||
messages = info["Text"].Split(',');
|
||||
var s = new Sheet(info["Image"]);
|
||||
var s = new Sheet(Platform.ResolvePath(info["Image"]));
|
||||
logo = new Sprite(s, new Rectangle(0, 0, 256, 256), TextureChannel.Alpha);
|
||||
stripe = new Sprite(s, new Rectangle(256, 0, 256, 256), TextureChannel.Alpha);
|
||||
stripeRect = new Rectangle(0, r.Resolution.Height / 2 - 128, r.Resolution.Width, 256);
|
||||
|
||||
Reference in New Issue
Block a user