mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Attempted to fix the dialog popup for optional costs popping up for cards with no optional costs [please review].
This commit is contained in:
@@ -162,7 +162,9 @@ public class HumanPlay {
|
||||
final SpellAbility choosen = c.getAbilityToPlay(original.getHostCard(), abilities);
|
||||
|
||||
List<OptionalCostValue> list = GameActionUtil.getOptionalCostValues(choosen);
|
||||
list = c.chooseOptionalCosts(choosen, list);
|
||||
if (!list.isEmpty()) {
|
||||
list = c.chooseOptionalCosts(choosen, list);
|
||||
}
|
||||
|
||||
return GameActionUtil.addOptionalCosts(choosen, list);
|
||||
//final List<SpellAbility> abilities = GameActionUtil.getOptionalCosts(original);
|
||||
|
||||
Reference in New Issue
Block a user