move MakeArray to FileFormats.Exts
This commit is contained in:
@@ -52,7 +52,7 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
public IEnumerable<PipType> GetPips(Actor self)
|
||||
{
|
||||
return Graphics.Util.MakeArray( Info.PipCount,
|
||||
return Exts.MakeArray( Info.PipCount,
|
||||
i => ( Player.Ore * Info.PipCount > i * Player.OreCapacity )
|
||||
? Info.PipColor : PipType.Transparent );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user