bug fix
This commit is contained in:
@@ -17,6 +17,8 @@ namespace stardew_access.Patches
|
|||||||
{
|
{
|
||||||
int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position
|
int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position
|
||||||
|
|
||||||
|
handleKeyBinds(__instance, ___currentCraftingPage);
|
||||||
|
|
||||||
if (narrateMenuButtons(__instance, x, y))
|
if (narrateMenuButtons(__instance, x, y))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
@@ -32,8 +34,6 @@ namespace stardew_access.Patches
|
|||||||
craftingPageQueryKey = "";
|
craftingPageQueryKey = "";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
handleKeyBinds(__instance, ___currentCraftingPage);
|
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
@@ -14,6 +14,8 @@ namespace stardew_access.Patches
|
|||||||
{
|
{
|
||||||
int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position
|
int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position
|
||||||
|
|
||||||
|
handleKeyBinds();
|
||||||
|
|
||||||
if (narrateHoveredButton(__instance, x, y))
|
if (narrateHoveredButton(__instance, x, y))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
@@ -30,8 +32,6 @@ namespace stardew_access.Patches
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
handleKeyBinds();
|
|
||||||
|
|
||||||
// If no slot or button is hovered
|
// If no slot or button is hovered
|
||||||
Cleanup();
|
Cleanup();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user