change editor tooltip to actor: description (type)

This commit is contained in:
Matthias Mailänder
2015-08-16 21:58:17 +02:00
parent e3194ed35a
commit 51fabae106

View File

@@ -70,7 +70,7 @@ namespace OpenRA.Mods.Common.Traits
} }
var tooltip = Info.Traits.GetOrDefault<TooltipInfo>(); 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(); GeneratePreviews();