Deprecate string format log shorthand.
This commit is contained in:
committed by
abcdefg30
parent
e251126dd4
commit
1c2ce0dcc0
@@ -216,7 +216,7 @@ namespace OpenRA
|
||||
{
|
||||
var logic = PlayerActor.TraitsImplementing<IBot>().FirstOrDefault(b => b.Info.Type == BotType);
|
||||
if (logic == null)
|
||||
Log.Write("debug", "Invalid bot type: {0}", BotType);
|
||||
Log.Write("debug", $"Invalid bot type: {BotType}");
|
||||
else
|
||||
logic.Activate(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user