Reset LobbyError to ERROR_NOERROR when user quits back to main menu.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8242 4a71c877-e1ca-e34f-864e-861f7616d084
master
Buginator 2009-10-10 00:35:39 +00:00 committed by Git SVN Gateway
parent 1f4e8a08ab
commit eab46f6bc3
1 changed files with 4 additions and 0 deletions

View File

@ -543,6 +543,10 @@ BOOL runMultiPlayerMenu(void)
break;
case FRONTEND_JOIN:
ingame.bHostSetup = false;
if (getLobbyError() != ERROR_CHEAT && getLobbyError() != ERROR_KICKED)
{
setLobbyError(ERROR_NOERROR);
}
changeTitleMode(PROTOCOL);
break;