OpenRA/OpenRA — pull request #5541 by RoosterDragon (2014-06-04 00:55:24+00:00)
Title: Avoid repeated work in AttackBase.

- Avoid enumerating the collection more than once in a method as it is not trivial.
- Don't wrap the creation of the enumerable in a lazy expression - creating the enumerable itself is cheap.