diff --git a/OpenRA.Mods.Common/Traits/World/RaMapGenerator.cs b/OpenRA.Mods.Common/Traits/World/RaMapGenerator.cs index 86b5b5e868..f9d237e82f 100644 --- a/OpenRA.Mods.Common/Traits/World/RaMapGenerator.cs +++ b/OpenRA.Mods.Common/Traits/World/RaMapGenerator.cs @@ -996,7 +996,7 @@ namespace OpenRA.Mods.Common.Traits var projections = Symmetry.RotateAndMirrorCPos( cpos, map.Tiles, param.Rotations, param.Mirror); foreach (var projection in projections) - if (map.Tiles[projection].Type == param.WaterTile) + if (map.Tiles.Contains(projection) && map.Tiles[projection].Type == param.WaterTile) unplayableWater.Add(projection); }