mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
sell correct quantity of cards in the card shop
This commit is contained in:
@@ -375,7 +375,7 @@ public final class CEditorQuestCardShop extends ACEditorBase<InventoryItem, Deck
|
||||
|
||||
final int price = Math.min((int) (this.multiplier * this.getCardValue(card)), this.questData.getCards()
|
||||
.getSellPriceLimit());
|
||||
this.questData.getCards().sellCard(card, 1, price);
|
||||
this.questData.getCards().sellCard(card, qty, price);
|
||||
|
||||
this.creditsLabel.setText("Credits: " + this.questData.getAssets().getCredits());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user