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();
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
{
|
||||
var self = p.Instances[0].Self;
|
||||
var time = WidgetUtils.FormatTime(p.RemainingTicks, false, self.World.Timestep);
|
||||
var text = Format.F(p.Info.Description, time);
|
||||
var text = Format.F(p.Info.Name, time);
|
||||
var playerColor = self.Owner.Color;
|
||||
|
||||
if (Game.Settings.Game.UsePlayerStanceColors)
|
||||
|
||||
Reference in New Issue
Block a user