We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8afa17c commit d6318ecCopy full SHA for d6318ec
forge-game/src/main/java/forge/game/cost/CostPayment.java
@@ -123,8 +123,10 @@ public final boolean isFullyPaid() {
123
public final void refundPayment() {
124
Card sourceCard = this.ability.getHostCard();
125
for (final CostPart part : this.paidCostParts) {
126
- if (part.isUndoable()) {
127
- part.refund(sourceCard);
+ part.refund(sourceCard);
+ // Clear lists to prevent accumulation across multiple cancelled activations
128
+ if (part instanceof CostPartWithList) {
129
+ ((CostPartWithList) part).resetLists();
130
}
131
132
0 commit comments