* Kindred Summons - Fixed that no creatures were put onto the battlefield.

This commit is contained in:
LevelX2 2018-03-17 22:35:03 +01:00
parent 7d1af66162
commit 85b13b88c8
2 changed files with 4 additions and 4 deletions

View file

@ -67,7 +67,7 @@ public class ChooseCreatureTypeEffect extends OneShotEffect {
if (!game.isSimulation()) {
game.informPlayers(mageObject.getName() + ": " + controller.getLogName() + " has chosen " + typeChoice.getChoice());
}
game.getState().setValue(mageObject.getId() + "_type", SubType.byDescription(typeChoice.getChoice()));
game.getState().setValue(source.getSourceId() + "_type", SubType.byDescription(typeChoice.getChoice()));
if (mageObject instanceof Permanent) {
((Permanent) mageObject).addInfo("chosen type", CardUtil.addToolTipMarkTags("Chosen type: " + typeChoice.getChoice()), game);
}