fix indents everywhere
This commit is contained in:
@@ -30,10 +30,10 @@ namespace OpenRA.Mods.RA.Crates
|
||||
return 0; // there's some other really good reason why we shouldn't give this.
|
||||
|
||||
var hasBase = self.World.ActorsWithTrait<BaseBuilding>()
|
||||
.Any(a => a.Actor.Owner == collector.Owner);
|
||||
.Any(a => a.Actor.Owner == collector.Owner);
|
||||
|
||||
return hasBase ? info.SelectionShares :
|
||||
(info as GiveMcvCrateActionInfo).NoBaseSelectionShares;
|
||||
(info as GiveMcvCrateActionInfo).NoBaseSelectionShares;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace OpenRA.Mods.RA.Crates
|
||||
if (location != null)
|
||||
collector.World.AddFrameEndTask(
|
||||
w => w.CreateActor(Info.Unit, new TypeDictionary
|
||||
{
|
||||
{
|
||||
new LocationInit( location.Value ),
|
||||
new OwnerInit( Info.Owner ?? collector.Owner.InternalName )
|
||||
}));
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace OpenRA.Mods.RA.Crates
|
||||
public override void Activate(Actor collector)
|
||||
{
|
||||
collector.World.AddFrameEndTask(w => w.CreateActor(Info.Proxy, new TypeDictionary
|
||||
{
|
||||
{
|
||||
new OwnerInit( collector.Owner )
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user