Fix IDE0053
This commit is contained in:
committed by
Pavel Penev
parent
37afd6094e
commit
939f715e3c
@@ -36,10 +36,7 @@ namespace OpenRA.Mods.Common.Effects
|
||||
this.interval = interval;
|
||||
tick = -delay;
|
||||
|
||||
target.World.RemoveAll(effect =>
|
||||
{
|
||||
return effect is FlashTarget flashTarget && flashTarget.target == target;
|
||||
});
|
||||
target.World.RemoveAll(effect => effect is FlashTarget flashTarget && flashTarget.target == target);
|
||||
}
|
||||
|
||||
public FlashTarget(Actor target, Color color, float alpha = 0.5f, int count = 2, int interval = 2, int delay = 0)
|
||||
|
||||
Reference in New Issue
Block a user