Allow support powers to define a poster image for beacons.

This commit is contained in:
Paul Chote
2014-03-20 22:12:13 +13:00
parent 1f9dd53b4d
commit 94e30503a7
3 changed files with 26 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ namespace OpenRA.Mods.RA
if (playerBeacon != null)
self.World.Remove(playerBeacon);
playerBeacon = new Beacon(self.Owner, pos, info.Duration, info.PalettePrefix);
playerBeacon = new Beacon(self.Owner, pos, info.Duration, info.PalettePrefix, null, null);
self.World.Add(playerBeacon);
if (self.Owner.IsAlliedWith(self.World.RenderPlayer))