Add template type to editor coordinate label.

This commit is contained in:
Paul Chote
2017-07-05 17:51:20 +00:00
committed by reaperrr
parent 72cf5d29e7
commit 4ffcd9b4a5
3 changed files with 4 additions and 4 deletions

View File

@@ -91,8 +91,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
{
var cell = worldRenderer.Viewport.ViewToWorld(Viewport.LastMousePos);
var map = worldRenderer.World.Map;
var height = map.Height.Contains(cell) ? map.Height[cell] : 0;
return "{0},{1}".F(cell, height);
return map.Height.Contains(cell) ?
"{0},{1} ({2})".F(cell, map.Height[cell], map.Tiles[cell].Type) : "";
};
}