From 4f12882706a51c860041226c7f0ca59d70b0a816 Mon Sep 17 00:00:00 2001 From: Pavlos Touboulidis Date: Fri, 25 Apr 2014 17:40:00 +0300 Subject: [PATCH] Minor clean up --- OpenRA.Game/Widgets/ChatDisplayWidget.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/OpenRA.Game/Widgets/ChatDisplayWidget.cs b/OpenRA.Game/Widgets/ChatDisplayWidget.cs index d7e5e964bf..8c8e22eba8 100644 --- a/OpenRA.Game/Widgets/ChatDisplayWidget.cs +++ b/OpenRA.Game/Widgets/ChatDisplayWidget.cs @@ -23,8 +23,7 @@ namespace OpenRA.Widgets const int logLength = 9; uint totalTicks; - - internal List recentLines = new List(); + List recentLines = new List(); public override Rectangle EventBounds { get { return Rectangle.Empty; } } @@ -84,11 +83,6 @@ namespace OpenRA.Widgets recentLines.RemoveAt(0); } - public void ClearChat() - { - recentLines = new List(); - } - public override void Tick() { totalTicks++;