Merge pull request #928 from ImperatorPrime/master

Fix counterspells not working when Rest in Peace is in play.
This commit is contained in:
LevelX2 2015-04-23 09:45:36 +02:00
commit caaf58c38d

View file

@ -492,6 +492,11 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
game.getExile().removeCard(this, game);
break;
case STACK:
StackObject stackObject = game.getStack().getSpell(getId());
if (stackObject != null) {
game.getStack().remove(stackObject);
}
break;
case PICK:
// nothing to do
break;