diff --git a/OpenRa.Game/Chat.cs b/OpenRa.Game/Chat.cs index 5f28a0860b..031a6018f8 100644 --- a/OpenRa.Game/Chat.cs +++ b/OpenRa.Game/Chat.cs @@ -34,15 +34,10 @@ namespace OpenRa.Game typing += c; } - public void AddLine(Pair line) - { - recentLines.Add(line); - while (recentLines.Count > logLength) recentLines.RemoveAt(0); - } - public void AddLine(string from, string text) { - AddLine(Pair.New(from, text)); + recentLines.Add(Pair.New(from, text)); + while (recentLines.Count > logLength) recentLines.RemoveAt(0); } } }