forked from External/mage
* Rollback - Fixed that UI is locked after a accepted rollback request (fixes #1158).
This commit is contained in:
parent
eccc367920
commit
efb5e06e57
159 changed files with 231 additions and 204 deletions
|
|
@ -182,7 +182,7 @@ public abstract class StackObjImpl implements StackObject {
|
|||
newTarget.clearChosen();
|
||||
}
|
||||
}
|
||||
} while (targetController.isInGame() && (targetId.equals(newTarget.getFirstTarget()) || newTarget.getTargets().size() != 1));
|
||||
} while (targetController.canRespond() && (targetId.equals(newTarget.getFirstTarget()) || newTarget.getTargets().size() != 1));
|
||||
// choose a new target
|
||||
} else {
|
||||
// build a target definition with exactly one possible target to select that replaces old target
|
||||
|
|
@ -235,7 +235,7 @@ public abstract class StackObjImpl implements StackObject {
|
|||
newTarget.addTarget(tempTarget.getFirstTarget(), target.getTargetAmount(targetId), ability, game, false);
|
||||
}
|
||||
}
|
||||
} while (again && targetController.isInGame());
|
||||
} while (again && targetController.canRespond());
|
||||
}
|
||||
} // keep the target
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue