Code style.

This commit is contained in:
Matthias Mailänder
2021-12-05 13:44:09 +01:00
committed by abcdefg30
parent b147da388a
commit 2c5f1f343f
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ namespace OpenRA.Mods.Common.Traits
if (info.ValidFactions.Any() && !info.ValidFactions.Contains(collector.Owner.Faction.InternalName))
return false;
foreach (string unit in info.Units)
foreach (var unit in info.Units)
{
// avoid dumping tanks in the sea, and ships on dry land.
if (!GetSuitableCells(collector.Location, unit).Any())