- disable join button when auto searching for servers
This commit is contained in:
parent
dc87b9b452
commit
eb17a1c052
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue