Fix IDE0053
This commit is contained in:
committed by
Pavel Penev
parent
37afd6094e
commit
939f715e3c
@@ -125,9 +125,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
checkTerrainType = info.UnloadTerrainTypes.Count > 0;
|
||||
|
||||
currentAdjacentCells = new CachedTransform<CPos, IEnumerable<CPos>>(loc =>
|
||||
{
|
||||
return Util.AdjacentCells(self.World, Target.FromActor(self)).Where(c => loc != c);
|
||||
});
|
||||
Util.AdjacentCells(self.World, Target.FromActor(self)).Where(c => loc != c));
|
||||
|
||||
var runtimeCargoInit = init.GetOrDefault<RuntimeCargoInit>(info);
|
||||
var cargoInit = init.GetOrDefault<CargoInit>(info);
|
||||
|
||||
Reference in New Issue
Block a user