This commit is contained in:
Felix Koppe
2024-12-08 21:12:09 +01:00
parent a1d85177c6
commit f7c886f084

View File

@@ -74,8 +74,8 @@ public void visit(SwapCard card) {
}
if (!possibleOtherPieces.isEmpty() && !possibleOwnPieces.isEmpty()) {
this.swapOwnPieces.addAll(possibleOtherPieces);
this.swapOtherPieces.addAll(possibleOwnPieces);
this.swapOwnPieces.addAll(possibleOwnPieces);
this.swapOtherPieces.addAll(possibleOtherPieces);
this.cards.add(card);
}
}