mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Computer and human flashback zones were mixed up
This commit is contained in:
@@ -335,8 +335,23 @@ public class CField implements ICDoc {
|
||||
/** */
|
||||
private void flashbackAction() {
|
||||
if (!CField.this.player.isHuman()) {
|
||||
new ZoneAction(player.getZone(ZoneType.Graveyard),
|
||||
NewConstants.Lang.GuiDisplay.HUMAN_FLASHBACK) {
|
||||
new ZoneAction(player.getZone(ZoneType.Graveyard), NewConstants.Lang.GuiDisplay.COMPUTER_FLASHBACK) {
|
||||
|
||||
private static final long serialVersionUID = 8120331222693706164L;
|
||||
|
||||
@Override
|
||||
protected List<Card> getCardsAsIterable() {
|
||||
return CardFactoryUtil.getExternalZoneActivationCards(player);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void doAction(final Card c) {
|
||||
// you cannot play computer's card from graveyard
|
||||
}
|
||||
} .actionPerformed(null);
|
||||
}
|
||||
else {
|
||||
new ZoneAction(CField.this.player.getZone(ZoneType.Graveyard), NewConstants.Lang.GuiDisplay.HUMAN_FLASHBACK) {
|
||||
|
||||
private static final long serialVersionUID = 8120331222693706164L;
|
||||
|
||||
@@ -356,23 +371,6 @@ public class CField implements ICDoc {
|
||||
}
|
||||
} .actionPerformed(null);
|
||||
}
|
||||
else {
|
||||
new ZoneAction(CField.this.player.getZone(ZoneType.Graveyard),
|
||||
NewConstants.Lang.GuiDisplay.COMPUTER_FLASHBACK) {
|
||||
|
||||
private static final long serialVersionUID = 8120331222693706164L;
|
||||
|
||||
@Override
|
||||
protected List<Card> getCardsAsIterable() {
|
||||
return CardFactoryUtil.getExternalZoneActivationCards(player);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void doAction(final Card c) {
|
||||
// you cannot play computer's card from graveyard
|
||||
}
|
||||
} .actionPerformed(null);
|
||||
}
|
||||
}
|
||||
|
||||
/** */
|
||||
|
||||
Reference in New Issue
Block a user