From 7ed6935c40be85d0552dc5c0067839c65cb5bd33 Mon Sep 17 00:00:00 2001 From: magenoxx Date: Fri, 5 Aug 2011 17:22:54 +0400 Subject: [PATCH] Fixed active player doesn't get priority while discarding cards in cleanup. --- Mage/src/mage/game/turn/CleanupStep.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Mage/src/mage/game/turn/CleanupStep.java b/Mage/src/mage/game/turn/CleanupStep.java index d973557a04..6d3f60b738 100644 --- a/Mage/src/mage/game/turn/CleanupStep.java +++ b/Mage/src/mage/game/turn/CleanupStep.java @@ -55,6 +55,7 @@ public class CleanupStep extends Step { public void beginStep(Game game, UUID activePlayerId) { super.beginStep(game, activePlayerId); Player activePlayer = game.getPlayer(activePlayerId); + game.getState().setPriorityPlayerId(activePlayer.getId()); //20091005 - 514.1 if (!activePlayer.hasLeft() && !activePlayer.hasLost()) { activePlayer.discardToMax(game);