shifting submarine frame dive depth

This commit is contained in:
devZoGok
2025-02-09 15:14:34 +02:00
parent 0578f6e41b
commit 728f4b6d4a
11 changed files with 105 additions and 91 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ namespace battleship{
void InGameAppState::onAction(int bind, bool isPressed) {
switch((Bind)bind){
case Bind::TOGGLE_MAIN_MENU:
if(isPressed && !GameObjectFrameController::getSingleton()->isPlacingFrames())
if(isPressed && !GameObjectFrameController::getSingleton()->isPlacingOnSurface())
Game::getSingleton()->togglePause();
break;
}