mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
* Triggered abilities with modes - fixed that player can skip mode selection (example: skip lose game with Demonic Pact, see #6524);
This commit is contained in:
parent
b4fd4aab58
commit
771d54aa39
1 changed files with 2 additions and 1 deletions
|
@ -2141,13 +2141,14 @@ public class HumanPlayer extends PlayerImpl {
|
|||
// cancel choice (remove all selections)
|
||||
if (Modes.CHOOSE_OPTION_CANCEL_ID.equals(response.getUUID())) {
|
||||
modes.getSelectedModes().clear();
|
||||
return null;
|
||||
}
|
||||
} else if (canEndChoice) {
|
||||
// end choice by done button in feedback panel
|
||||
// disable after done option implemented
|
||||
// done = true;
|
||||
}
|
||||
|
||||
// triggered abilities can't be skipped by cancel or wrong answer
|
||||
if (source.getAbilityType() != AbilityType.TRIGGERED) {
|
||||
done = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue