diff --git a/OpenRA.Game/Widgets/ChatDisplayWidget.cs b/OpenRA.Game/Widgets/ChatDisplayWidget.cs index 0c484a7479..39eba6f27b 100644 --- a/OpenRA.Game/Widgets/ChatDisplayWidget.cs +++ b/OpenRA.Game/Widgets/ChatDisplayWidget.cs @@ -50,7 +50,7 @@ namespace OpenRA.Widgets foreach (var line in recentLines.AsEnumerable().Reverse()) { chatpos.Y -= 20; - int inset = 0; + var inset = 0; if (!string.IsNullOrEmpty(line.Owner)) { @@ -83,12 +83,12 @@ namespace OpenRA.Widgets { if (recentLines.Count > 0) recentLines.RemoveAt(0); } - + public void ClearChat() { recentLines = new List(); } - + public override void Tick() { if (RemoveTime == 0) return; @@ -104,6 +104,5 @@ namespace OpenRA.Widgets { public Color Color = Color.White; public string Owner, Text; - public bool wrapped = false; } } \ No newline at end of file