This commit is contained in:
Paul Chote
2013-12-11 23:13:46 +13:00
parent f5123981fa
commit c09e4ff541

View File

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