diff --git a/stardew-access/Patches/GameMenuPatches/CraftingPagePatch.cs b/stardew-access/Patches/GameMenuPatches/CraftingPagePatch.cs index 8599840..f9c5180 100644 --- a/stardew-access/Patches/GameMenuPatches/CraftingPagePatch.cs +++ b/stardew-access/Patches/GameMenuPatches/CraftingPagePatch.cs @@ -17,6 +17,8 @@ namespace stardew_access.Patches { int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position + handleKeyBinds(__instance, ___currentCraftingPage); + if (narrateMenuButtons(__instance, x, y)) { return; @@ -32,8 +34,6 @@ namespace stardew_access.Patches craftingPageQueryKey = ""; return; } - - handleKeyBinds(__instance, ___currentCraftingPage); } catch (Exception e) { diff --git a/stardew-access/Patches/GameMenuPatches/InventoryPagePatch.cs b/stardew-access/Patches/GameMenuPatches/InventoryPagePatch.cs index 8dc26b3..dc05fd3 100644 --- a/stardew-access/Patches/GameMenuPatches/InventoryPagePatch.cs +++ b/stardew-access/Patches/GameMenuPatches/InventoryPagePatch.cs @@ -14,6 +14,8 @@ namespace stardew_access.Patches { int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position + handleKeyBinds(); + if (narrateHoveredButton(__instance, x, y)) { return; @@ -30,8 +32,6 @@ namespace stardew_access.Patches return; } - handleKeyBinds(); - // If no slot or button is hovered Cleanup(); }