Remove IsIdle check from DrawLineToTarget.OnBecomingIdle
OnBecomingIdle is triggered when IsIdle becomes true, so this check is bogus.
This commit is contained in:
@@ -87,7 +87,6 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
void INotifyBecomingIdle.OnBecomingIdle(Actor a)
|
void INotifyBecomingIdle.OnBecomingIdle(Actor a)
|
||||||
{
|
{
|
||||||
if (a.IsIdle)
|
|
||||||
targets = null;
|
targets = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user