- disable join button when auto searching for servers

This commit is contained in:
Mark Vejvoda 2010-12-18 21:38:27 +00:00
parent dc87b9b452
commit eb17a1c052
1 changed files with 1 additions and 2 deletions

View File

@ -243,8 +243,7 @@ void MenuStateJoinGame::mouseClick(int x, int y, MouseButton mouseButton)
}
//connect
else if(buttonConnect.mouseClick(x, y))
{
else if(buttonConnect.mouseClick(x, y) && buttonConnect.getEnabled() == true) {
ClientInterface* clientInterface= networkManager.getClientInterface();
soundRenderer.playFx(coreData.getClickSoundA());