StyleCop
This commit is contained in:
@@ -111,8 +111,8 @@ namespace OpenRA.Mods.RA
|
|||||||
var producer = producers.Where(x => x.Actor.IsPrimaryBuilding()).Concat(producers)
|
var producer = producers.Where(x => x.Actor.IsPrimaryBuilding()).Concat(producers)
|
||||||
.FirstOrDefault();
|
.FirstOrDefault();
|
||||||
|
|
||||||
if( producer.Actor != null )
|
if (producer.Actor == null)
|
||||||
producer.Actor.Trait<RenderSimple>().PlayCustomAnim( producer.Actor, "build" );
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int GetNumBuildables(Player p)
|
static int GetNumBuildables(Player p)
|
||||||
|
|||||||
Reference in New Issue
Block a user