Browse Source

Fixed encyclopedia selection bug

James Peret 2 years ago
parent
commit
705fbad9d4

+ 0 - 1
Runtime/Encyclopedia/EncyclopediaUi.cs

@@ -139,7 +139,6 @@ namespace KairoEngine.UI.Encyclopedia
             }
             if(category.showSubMenu && !oldCategory.showSubMenu)
             {
-                Debug.Log("Last view was a list");
                 subMenuIndex = 0;
                 controller.subMenuIndex = 0;
                 subMenuButtonSelection[subMenuIndex].Select();

+ 0 - 1
Runtime/InteractionHandler/SelectedButton.cs

@@ -33,7 +33,6 @@ namespace KairoEngine.UI.InteractionHandler
             var btnStates = button.spriteState;
             btnStates.disabledSprite = selectedSprite;
             button.spriteState = btnStates;
-            isInteractable = button.interactable;
             button.interactable = false;
             
         }