Remember to disconnect ingame too, and mark the game as not started.

Also fix a compiler warning
This commit is contained in:
alzeih
2010-07-23 18:27:28 +12:00
committed by Chris Forbes
parent 9516235707
commit 282d26b844
4 changed files with 5 additions and 3 deletions

View File

@@ -55,6 +55,7 @@ namespace OpenRA.Widgets.Delegates
case ConnectionState.Connected:
r.OpenWindow("SERVER_LOBBY");
r.GetWidget("SERVER_LOBBY").GetWidget<ChatDisplayWidget>("CHAT_DISPLAY").ClearChat();
r.GetWidget("INGAME_ROOT").GetWidget<ChatDisplayWidget>("CHAT_DISPLAY").ClearChat();
break;
}
};