mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 23:21:19 +02:00
- disable join button when auto searching for servers
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user