mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
* UI: choose ability to play improves (see 8add25fa12)
This commit is contained in:
parent
8add25fa12
commit
ce60a9d75b
4 changed files with 26 additions and 8 deletions
|
|
@ -494,6 +494,14 @@ public class AbilityPicker extends JXPanel implements MouseWheelListener {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// old cancel style (just close dialog)
|
||||
for (Object obj : choices) {
|
||||
AbilityPickerAction action = (AbilityPickerAction) obj;
|
||||
if (action.id == null) {
|
||||
cancel();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void tryChoiceOption(int choiceNumber) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue