more
This commit is contained in:
@@ -34,15 +34,10 @@ namespace OpenRa.Game
|
|||||||
typing += c;
|
typing += c;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddLine(Pair<string, string> line)
|
|
||||||
{
|
|
||||||
recentLines.Add(line);
|
|
||||||
while (recentLines.Count > logLength) recentLines.RemoveAt(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void AddLine(string from, string text)
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user