diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set1/gondor/Card1_091.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set1/gondor/Card1_091.java index 4d076bc0a..5e5aa7e7f 100644 --- a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set1/gondor/Card1_091.java +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set1/gondor/Card1_091.java @@ -53,21 +53,20 @@ public class Card1_091 extends AbstractAttachableFPPossession { }); action.addEffect( new PlayoutDecisionEffect(game.getUserFeedback(), playerId, - new ForEachYouSpotDecision(1, "Choose number of pipes new RemoveBurdenEffect(playerId)you wish to spot", game, Filters.keyword(Keyword.PIPE), Integer.MAX_VALUE) { + new ForEachYouSpotDecision(1, "Choose number of pipes you wish to spot", game, Filters.keyword(Keyword.PIPE), Integer.MAX_VALUE) { @Override public void decisionMade(String result) throws DecisionResultInvalidException { int spotCount = getValidatedResult(result); int companionsCount = Filters.countActive(game.getGameState(), game.getModifiersQuerying(), Filters.type(CardType.COMPANION)); spotCount = Math.min(spotCount, companionsCount); - for (int i = 0; i < spotCount; i++) - action.addEffect( - new ChooseActiveCardsEffect(playerId, "Choose companions", spotCount, spotCount, Filters.type(CardType.COMPANION)) { - @Override - protected void cardsSelected(List cards) { - for (PhysicalCard card : cards) - action.addEffect(new HealCharacterEffect(playerId, card)); - } - }); + action.addEffect( + new ChooseActiveCardsEffect(playerId, "Choose companion(s) to heal", spotCount, spotCount, Filters.type(CardType.COMPANION)) { + @Override + protected void cardsSelected(List cards) { + for (PhysicalCard card : cards) + action.addEffect(new HealCharacterEffect(playerId, card)); + } + }); } })); return Collections.singletonList(action); diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gameUi.js b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gameUi.js index 2b40e1326..1e05f9ba7 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gameUi.js +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gameUi.js @@ -683,6 +683,14 @@ var GempLotrGameUI = Class.extend({ this.selfPlayerId = participantId; + var index = -1; + for (var i = 0; i < this.allPlayerIds.length; i++) { + if (this.allPlayerIds[i] == this.selfPlayerId) + index = i; + } + if (index == -1) + this.selfPlayerId = this.allPlayerIds[0]; + this.initializeGameUI(); this.layoutUI(); },