Replace F extension with string interpolation
This commit is contained in:
@@ -103,7 +103,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
var utLower = info.UnitType.ToLowerInvariant();
|
||||
if (!self.World.Map.Rules.Actors.TryGetValue(utLower, out var unitType))
|
||||
throw new YamlException("Actors ruleset does not include the entry '{0}'".F(utLower));
|
||||
throw new YamlException($"Actors ruleset does not include the entry '{utLower}'");
|
||||
|
||||
var altitude = unitType.TraitInfo<AircraftInfo>().CruiseAltitude.Length;
|
||||
var dropRotation = WRot.FromYaw(facing.Value);
|
||||
|
||||
Reference in New Issue
Block a user