format and clean up DrawLineToTarget
This commit is contained in:
@@ -47,9 +47,7 @@ namespace OpenRA.Traits
|
||||
|
||||
public void RenderAfterWorld(Actor self)
|
||||
{
|
||||
var activity = self.GetCurrentActivity();
|
||||
if (activity == null || activity is Idle)
|
||||
return;
|
||||
if (self.IsIdle) return;
|
||||
|
||||
var force = Game.GetModifierKeys().HasModifier(Modifiers.Alt);
|
||||
if ((lifetime <= 0 || --lifetime <= 0) && !force)
|
||||
|
||||
Reference in New Issue
Block a user