mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 23:45:14 +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
|
//connect
|
||||||
else if(buttonConnect.mouseClick(x, y))
|
else if(buttonConnect.mouseClick(x, y) && buttonConnect.getEnabled() == true) {
|
||||||
{
|
|
||||||
ClientInterface* clientInterface= networkManager.getClientInterface();
|
ClientInterface* clientInterface= networkManager.getClientInterface();
|
||||||
|
|
||||||
soundRenderer.playFx(coreData.getClickSoundA());
|
soundRenderer.playFx(coreData.getClickSoundA());
|
||||||
|
Reference in New Issue
Block a user