Skip to content

Commit

Permalink
Fix shop dialog only allowing 1 item per buy when BuyLimit is set
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanmoffat committed May 12, 2023
1 parent ed65589 commit c29f700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EndlessClient/Dialogs/ShopDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ private void TradeItem(object sender, EventArgs e)
}
}

var needItemTransferDialog = (buying && shopItem.MaxBuy == 1) || (!buying && inventoryItem.Match(x => x.Amount != 1, () => false));
var needItemTransferDialog = (buying && shopItem.MaxBuy != 1) || (!buying && inventoryItem.Match(x => x.Amount != 1, () => false));

if (needItemTransferDialog)
{
Expand Down

0 comments on commit c29f700

Please sign in to comment.