Moved narrateHoveredItemInInventory to separate class

This commit is contained in:
Mohammad Shoaib Khan
2023-02-20 12:59:55 +05:30
parent 042afa4d90
commit 80637af471
4 changed files with 206 additions and 194 deletions

View File

@@ -148,7 +148,6 @@ namespace stardew_access.Patches
if (prevSlotIndex != i)
{
prevSlotIndex = i;
MainClass.DebugLog("here");
Game1.playSound("invalid-selection");
}
}
@@ -322,7 +321,6 @@ namespace stardew_access.Patches
if (prevSlotIndex != i)
{
prevSlotIndex = i;
MainClass.DebugLog("here");
Game1.playSound("invalid-selection");
}
}
@@ -803,7 +801,8 @@ namespace stardew_access.Patches
pondQueryMenuQuery = " ";
}
GameMenuPatches.hoveredItemQueryKey = "";
InventoryUtils.hoveredItemQueryKey = "";
InventoryUtils.prevSlotIndex = -999;
}
#endregion