Rename support power field for consistency.

This commit is contained in:
Matthias Mailänder
2021-12-05 13:59:29 +01:00
committed by reaperrr
parent 9852bd08e4
commit b3d290edd9
15 changed files with 93 additions and 61 deletions

View File

@@ -53,10 +53,10 @@ namespace OpenRA.Mods.Common.Widgets.Logic
if (sp == lastPower && hotkey == lastHotkey && lastRemainingSeconds == remainingSeconds)
return;
nameLabel.Text = sp.Info.Description;
nameLabel.Text = sp.Info.Name;
var nameSize = nameFont.Measure(nameLabel.Text);
descLabel.Text = sp.Info.LongDesc.Replace("\\n", "\n");
descLabel.Text = sp.Info.Description.Replace("\\n", "\n");
var descSize = descFont.Measure(descLabel.Text);
var customLabel = sp.TooltipTimeTextOverride();