Replace F extension with string interpolation

This commit is contained in:
teinarss
2021-04-24 17:46:24 +02:00
committed by reaperrr
parent 1385aca783
commit 10676be377
300 changed files with 752 additions and 799 deletions

View File

@@ -36,10 +36,10 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
public override IEnumerable<string> UpdateMapActorNode(ModData modData, MiniYamlNode actorNode)
{
if (actorNode.RemoveNodes("Plugs") > 0)
yield return "Initial plugs for actor {0} will need to be reconfigured using the map editor.".F(actorNode.Key);
yield return $"Initial plugs for actor {actorNode.Key} will need to be reconfigured using the map editor.";
if (actorNode.RemoveNodes("TurretFacings") > 0)
yield return "Initial turret facings for actor {0} will need to be reconfigured using the map editor.".F(actorNode.Key);
yield return $"Initial turret facings for actor {actorNode.Key} will need to be reconfigured using the map editor.";
var bodyFacing = WAngle.Zero;
foreach (var facing in actorNode.ChildrenMatching("Facing"))