mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
better fix for Mana Batteries. Canceling is still allowed.
This commit is contained in:
@@ -7697,11 +7697,12 @@ public class CardFactory implements NewConstants {
|
||||
for(int j=0;j<=num[0];j++) {
|
||||
choices[j] = ""+j;
|
||||
}
|
||||
String answer = (String)(AllZone.Display.getChoice(
|
||||
String answer = (String)(AllZone.Display.getChoiceOptional(
|
||||
"Charge counters to remove", choices));
|
||||
|
||||
if(null != answer && !answer.equals("")) {
|
||||
num[0] = Integer.parseInt(answer);
|
||||
AllZone.Stack.add(addMana);
|
||||
}
|
||||
stop();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user