Add support for TS-style tinted target flashes.

This commit is contained in:
Paul Chote
2021-07-03 23:28:48 +01:00
committed by abcdefg30
parent 9291263609
commit 7a93ff3258
8 changed files with 88 additions and 14 deletions

View File

@@ -71,7 +71,7 @@ namespace OpenRA.Mods.Common.Activities
if (!enterDemolishables.Any(i => i.IsValidTarget(enterActor, self)))
return;
w.Add(new FlashTarget(enterActor, count: flashes, delay: flashesDelay, interval: flashInterval));
w.Add(new FlashTarget(enterActor, Color.White, count: flashes, interval: flashInterval, delay: flashesDelay));
foreach (var ind in notifiers)
ind.Demolishing(self);