Added message to card choice

This commit is contained in:
Zzooouhh 2017-11-08 16:03:51 +01:00 committed by GitHub
parent b68faa6ef4
commit 07cd3b67bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,6 +98,7 @@ class LiarsPendulumEffect extends OneShotEffect {
// Name a card.
Choice choice = new ChoiceImpl();
choice.setChoices(CardRepository.instance.getNames());
choice.setMessage("Choose a card name");
while (!controller.choose(Outcome.Benefit, choice, game)) {
if (!controller.canRespond()) {
return false;