fix indents everywhere
This commit is contained in:
@@ -15,14 +15,14 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.RA
|
||||
{
|
||||
class LintBuildablePrerequisites : ILintPass
|
||||
{
|
||||
public void Run(Action<string> emitError, Action<string> emitWarning)
|
||||
{
|
||||
class LintBuildablePrerequisites : ILintPass
|
||||
{
|
||||
public void Run(Action<string> emitError, Action<string> emitWarning)
|
||||
{
|
||||
var providedPrereqs = Rules.Info.Keys.Concat(
|
||||
Rules.Info.SelectMany( a => a.Value.Traits
|
||||
.WithInterface<ProvidesCustomPrerequisiteInfo>()
|
||||
.Select( p => p.Prerequisite ))).ToArray();
|
||||
.WithInterface<ProvidesCustomPrerequisiteInfo>()
|
||||
.Select( p => p.Prerequisite ))).ToArray();
|
||||
|
||||
foreach( var i in Rules.Info )
|
||||
{
|
||||
@@ -32,6 +32,6 @@ namespace OpenRA.Mods.RA
|
||||
if ( !providedPrereqs.Contains(prereq) )
|
||||
emitError( "Buildable actor {0} has prereq {1} not provided by anything.".F( i.Key, prereq ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user