Replace F extension with string interpolation
This commit is contained in:
@@ -75,7 +75,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
flag.IsVisible = () => playerFaction != null;
|
||||
flag.GetImageCollection = () => "flags";
|
||||
flag.GetImageName = () => playerFaction;
|
||||
team.GetText = () => "Team {0}".F(playerTeam);
|
||||
team.GetText = () => $"Team {playerTeam}";
|
||||
team.IsVisible = () => playerTeam > 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user