Merge pull request #795 from zethfoxster/master

pushing to master
This commit is contained in:
zethfoxster
2016-07-26 22:47:07 -04:00
committed by GitHub

View File

@@ -773,6 +773,18 @@ bool MTGScryCards::CheckUserInput(JButton key)
initDisplay(revealTopAmount);
abilitySecond = contructAbility(abilityTwo);
game->addObserver(abilitySecond);
if(revealTopAmount == 0 && dontRevealAfter && delayed)
{
MTGAbility * delayedA = contructAbility(delayedAbilityString);
if (delayedA->oneShot)
{
delayedA->resolve();
SAFE_DELETE(delayedA);
}
else
delayedA->addToGame();
}
}
}