Rename support power field for consistency.
This commit is contained in:
committed by
reaperrr
parent
9852bd08e4
commit
b3d290edd9
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user