Remove IsIdle check from DrawLineToTarget.OnBecomingIdle

OnBecomingIdle is triggered when IsIdle becomes true, so this check is bogus.
This commit is contained in:
reaperrr
2018-10-01 21:26:08 +02:00
committed by abcdefg30
parent 422ba16ed9
commit 3e73357619

View File

@@ -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;
} }
} }