Remove ShowTargetLines from delivery Lua API calls.

Lines should only be activated in response to an
explicit player action.
This commit is contained in:
Paul Chote
2019-08-04 23:45:55 +01:00
committed by abcdefg30
parent 96263d47c5
commit 8ffd8ae822

View File

@@ -35,7 +35,6 @@ namespace OpenRA.Mods.Common.Scripting
{
var t = Target.FromActor(target);
Self.QueueActivity(new DonateCash(Self, t, info.Payload, info.PlayerExperience));
Self.ShowTargetLines();
}
}
@@ -67,7 +66,6 @@ namespace OpenRA.Mods.Common.Scripting
var t = Target.FromActor(target);
Self.QueueActivity(new DonateExperience(Self, t, level, deliversExperience.PlayerExperience));
Self.ShowTargetLines();
}
}
}