unit orders aren't invoked if pressing a button

This commit is contained in:
devZoGok
2024-03-17 15:07:16 +02:00
parent ae93ada2c4
commit ce62c429c5
9 changed files with 72 additions and 5 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ namespace battleship{
leftMousePressed = isPressed;
if(isPressed)
guiManager->findClickedButton();
guiManager->updateGui();
break;
case Bind::SCROLLING_UP:{