mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
new mappings
This commit is contained in:
+4
-3
@@ -317,9 +317,10 @@ namespace battleship{
|
||||
|
||||
void InGameAppState::onAction(int bind, bool isPressed) {
|
||||
switch((Bind)bind){
|
||||
case Bind::TOGGLE_MAIN_MENU:
|
||||
if(isPressed)toggleMainMenu();
|
||||
break;
|
||||
case Bind::TOGGLE_MAIN_MENU:
|
||||
if(isPressed && !activeState->isPlacingStructure())
|
||||
toggleMainMenu();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user