Formatting: wrap and indent long argument lists

This commit is contained in:
Ivaylo Draganov
2020-05-15 15:49:06 +03:00
committed by abcdefg30
parent d5ff5c672b
commit 227567dfe1
8 changed files with 56 additions and 10 deletions

View File

@@ -281,7 +281,11 @@ namespace OpenRA.Mods.Common.Traits
{
get
{
yield return new EnterAlliedActorTargeter<IAcceptResourcesInfo>("Deliver", 5, Info.EnterCursor, Info.EnterBlockedCursor,
yield return new EnterAlliedActorTargeter<IAcceptResourcesInfo>(
"Deliver",
5,
Info.EnterCursor,
Info.EnterBlockedCursor,
(proc, _) => IsAcceptableProcType(proc),
proc => proc.Trait<IAcceptResources>().AllowDocking);
yield return new HarvestOrderTargeter();