UnregisterEvents functions do not need to be public

This commit is contained in:
Chris Forbes
2011-07-29 19:17:51 +12:00
parent 8d9f7b715d
commit f2867fbc61
3 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
ingameRoot.GetWidget<ChatDisplayWidget>("CHAT_DISPLAY").AddLine(c, from, text);
}
public void UnregisterEvents()
void UnregisterEvents()
{
Game.AddChatLine -= AddChatLine;
Game.BeforeGameStart -= UnregisterEvents;