Replace F extension with string interpolation
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user