diff --git a/OpenRA.Mods.Cnc/Widgets/Logic/CncConnectionLogic.cs b/OpenRA.Mods.Cnc/Widgets/Logic/CncConnectionLogic.cs index 259dd6dde8..b3d550c5d8 100644 --- a/OpenRA.Mods.Cnc/Widgets/Logic/CncConnectionLogic.cs +++ b/OpenRA.Mods.Cnc/Widgets/Logic/CncConnectionLogic.cs @@ -41,7 +41,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic } } - public void CloseWindow() + void CloseWindow() { Game.ConnectionStateChanged -= ConnectionStateChanged; Widget.CloseWindow(); diff --git a/OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs b/OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs index 0848b86716..bc168a604b 100644 --- a/OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs +++ b/OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs @@ -209,7 +209,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic }); } - public void AddChatLine(Color c, string from, string text) + void AddChatLine(Color c, string from, string text) { var template = chatTemplate.Clone(); var nameLabel = template.GetWidget("NAME");