Fix clicking offer market numbers over 10M

This commit is contained in:
Tyfon
2024-05-28 10:54:26 -07:00
parent a0ffdc2e9d
commit 5eb1d7850e
2 changed files with 7 additions and 3 deletions

View File

@@ -83,14 +83,18 @@ namespace UIFixes
__instance.ItemContext.CloseDependentWindows();
__instance.HideTooltip();
Singleton<GUISounds>.Instance.PlayItemSound(__instance.Item.ItemSound, EInventorySoundType.pickup, false);
SellTab.OnPointerClick(null);
return false;
}
if (___bool_8)
{
tradingItemView.TraderAssortmentControler.SelectItem(__instance.Item);
BuyTab.OnPointerClick(null);
return false;
}