Browse Source

quick army managment click next

Laserlicht 2 years ago
parent
commit
890c4ac19d
2 changed files with 1 additions and 5 deletions
  1. 0 5
      client/adventureMap/CInfoBar.cpp
  2. 1 0
      client/gui/EventDispatcher.cpp

+ 0 - 5
client/adventureMap/CInfoBar.cpp

@@ -295,12 +295,7 @@ void CInfoBar::clickReleased(const Point & cursorPosition)
 	removeUsedEvents(TIME); //expiration trigger from just clicked element is not valid anymore
 
 	if(state == HERO || state == TOWN)
-	{
-		if(settings["gameTweaks"]["infoBarCreatureManagement"].Bool())
-			return;
-
 		showGameStatus();
-	}
 	else if(state == GAME)
 		showDate();
 	else

+ 1 - 0
client/gui/EventDispatcher.cpp

@@ -218,6 +218,7 @@ void EventDispatcher::handleLeftButtonClick(const Point & position, int toleranc
 				i->clickReleased(position);
 
 			i->mouseClickedState = isPressed;
+			return;
 		}
 		else
 		{