Prevent player name from becoming part of a formatting string.

fixes #6524
This commit is contained in:
Matthijs Benschop
2014-09-21 00:52:20 +02:00
parent ea11906938
commit 534f6c5a33
4 changed files with 7 additions and 7 deletions

View File

@@ -140,7 +140,7 @@ namespace OpenRA.Traits
return;
}
Game.Debug("Cheat used: {0} by {1}".F(order.OrderString, self.Owner.PlayerName));
Game.Debug("Cheat used: {0} by {1}", order.OrderString, self.Owner.PlayerName);
}
}
}