mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 04:02:30 +01:00
- 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…
x
Reference in New Issue
Block a user