mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
concede on mulligan handled
This commit is contained in:
@@ -1546,6 +1546,10 @@ public class GameAction {
|
|||||||
|
|
||||||
Player p = whoCanMulligan.get(i);
|
Player p = whoCanMulligan.get(i);
|
||||||
List<Card> toMulligan = p.canMulligan() ? p.getController().getCardsToMulligan(isCommander, firstPlayer) : null;
|
List<Card> toMulligan = p.canMulligan() ? p.getController().getCardsToMulligan(isCommander, firstPlayer) : null;
|
||||||
|
|
||||||
|
if ( game.isGameOver()) // conceded on mulligan prompt
|
||||||
|
return;
|
||||||
|
|
||||||
if ( toMulligan != null && !toMulligan.isEmpty()) {
|
if ( toMulligan != null && !toMulligan.isEmpty()) {
|
||||||
if( !isCommander ) {
|
if( !isCommander ) {
|
||||||
toMulligan = new ArrayList<Card>(p.getCardsIn(ZoneType.Hand));
|
toMulligan = new ArrayList<Card>(p.getCardsIn(ZoneType.Hand));
|
||||||
|
|||||||
Reference in New Issue
Block a user