Skip to content
Snippets Groups Projects
Commit 525b5948 authored by Trandinh Thien's avatar Trandinh Thien
Browse files

fixed inventory not closing after deselect bug

parent bcb037be
No related branches found
No related tags found
Loading
......@@ -65,6 +65,7 @@ namespace Controller
&& validX && validY && (GameState.selectedUnit != null || GameState.selectedEnemyUnit != null))
{
GameFunction.deselectUnit();
GameState.inventoryOpen = false;
}
// if no unit is selected when right-click, display end turn button
......
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