Make buildings being captured flash the colour of the captor's owner

This commit is contained in:
ScottNZ
2013-08-21 18:22:19 +12:00
parent dff60c3792
commit 3e0dd12db6
3 changed files with 12 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ namespace OpenRA.Mods.RA.Activities
if (capturable.CaptureProgressTime % 25 == 0)
{
self.World.Add(new FlashTarget(target.Actor)); // TODO: building should flash captor's color
self.World.Add(new FlashTarget(target.Actor, self.Owner));
self.World.Add(new FlashTarget(self));
}