Skip to content
Snippets Groups Projects
Commit a9c454e8 authored by Susan Yuen's avatar Susan Yuen
Browse files

Fixed inventory menu visibility

parent 525b5948
No related branches found
No related tags found
No related merge requests found
......@@ -492,6 +492,7 @@ namespace Controller
GameState.TurnState = TurnState.Attack;
GameState.dropDownMenuOpen = false; // close the dropdown menu when selecting who to attack
GameState.attackSelect = true;
GameState.inventoryOpen = false; // closes secondary inventory menu
break;
#endregion
......@@ -567,6 +568,7 @@ namespace Controller
{
GameState.TurnState = TurnState.Move;
GameState.dropDownMenuOpen = false; // close the dropdownmenu when selecting where to move
GameState.inventoryOpen = false; // closes secondary inventory menu
}
break;
#endregion
......@@ -587,7 +589,6 @@ namespace Controller
break;
#endregion
#region Inventory Buttons
case ButtonType.Inventory1:
if ((GameState.inventoryOpen)&&(button.hasItem))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment