mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Fix an issue with multitargeting the same card while UniqueTargets is set.
This commit is contained in:
@@ -144,7 +144,7 @@ public final class InputSelectTargets extends InputSyncronizedBase {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected final boolean onCardSelected(final Card card, final List<Card> otherCardsToSelect, final ITriggerEvent triggerEvent) {
|
protected final boolean onCardSelected(final Card card, final List<Card> otherCardsToSelect, final ITriggerEvent triggerEvent) {
|
||||||
if (!tgt.isUniqueTargets() && targetDepth.containsKey(card)) {
|
if (tgt.isUniqueTargets() && targetDepth.containsKey(card)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user