Merge pull request #4291 from pchote/fix-the-frelling-editor

Fixes #4269.
This commit is contained in:
Matthias Mailänder
2013-12-11 09:05:18 -08:00

View File

@@ -42,7 +42,7 @@ namespace OpenRA.Editor
if (surface.Map.IsInMap(new CVec(u, v) + pos))
{
var z = u + v * template.Size.X;
if (tile[z] != null)
if (tile[z].Length > 0)
surface.Map.MapTiles.Value[u + pos.X, v + pos.Y] =
new TileReference<ushort, byte>
{