Merge pull request #9089 from Mailaender/editor-coordinate

Added a coordinate display to the map editor
This commit is contained in:
Pavel Penev
2015-08-18 00:12:10 +03:00
4 changed files with 21 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ namespace OpenRA.Mods.Common.Traits
}
var tooltip = Info.Traits.GetOrDefault<TooltipInfo>();
Tooltip = tooltip == null ? Info.Name + " - " + ID : tooltip.Name + " (" + Info.Name + ") - " + ID;
Tooltip = tooltip == null ? ID + ": " + Info.Name : ID + ": " + tooltip.Name + " (" + Info.Name + ")";
GeneratePreviews();