mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
shifting submarine frame dive depth
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user