Files
OpenRA/OpenRA.Mods.Common/Traits/Modifiers/UpgradeOverlay.cs
RoosterDragon 6baa35a763 Adjust DisabledOverlay.ModifyRender to be more efficient.
When not disabled, ModifyRender doesn't actually alter the sequence, so we can just return it directly and avoid adding another layer of enumerable. If it is disabled, then the modifying enumerable has one less condition to check inside the loop.
2015-02-26 21:58:29 +00:00

1.4 KiB