mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Quick fix for unless costs of zero mana.
This commit is contained in:
@@ -380,6 +380,14 @@ public final class GameActionUtil {
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (manaCost.equals("0")) {
|
||||||
|
if (showYesNoDialog(hostCard, "Do you want to pay 0?")) {
|
||||||
|
paid.execute();
|
||||||
|
} else {
|
||||||
|
unpaid.execute();
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
// temporarily disable the Resolve flag, so the user can payMana for the
|
// temporarily disable the Resolve flag, so the user can payMana for the
|
||||||
// resolving Ability
|
// resolving Ability
|
||||||
final boolean bResolving = AllZone.getStack().getResolving();
|
final boolean bResolving = AllZone.getStack().getResolving();
|
||||||
|
|||||||
Reference in New Issue
Block a user