Replace F extension with string interpolation
This commit is contained in:
@@ -36,7 +36,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
Actor CreateActor(Player owner, string actorType, bool addToWorld, CPos? entryLocation = null, CPos? nextLocation = null)
|
||||
{
|
||||
if (!Context.World.Map.Rules.Actors.TryGetValue(actorType, out var ai))
|
||||
throw new LuaException("Unknown actor type '{0}'".F(actorType));
|
||||
throw new LuaException($"Unknown actor type '{actorType}'");
|
||||
|
||||
var initDict = new TypeDictionary();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user