Deprecate string format shorthand.
This commit is contained in:
committed by
abcdefg30
parent
1c2ce0dcc0
commit
65c0cf1065
@@ -57,7 +57,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(self.Owner.PlayerName, p.Info.Name, time);
|
||||
var text = string.Format(Format, self.Owner.PlayerName, p.Info.Name, time);
|
||||
var playerColor = self.Owner.Color;
|
||||
|
||||
if (Game.Settings.Game.UsePlayerStanceColors)
|
||||
|
||||
Reference in New Issue
Block a user