mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
@@ -1432,11 +1432,11 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
GameEntity affected, final String question) {
|
GameEntity affected, final String question) {
|
||||||
if (GuiBase.getInterface().isLibgdxPort()) {
|
if (GuiBase.getInterface().isLibgdxPort()) {
|
||||||
CardView cardView;
|
CardView cardView;
|
||||||
SpellAbilityView spellAbilityView = effectSA.getView();
|
SpellAbilityView spellAbilityView = effectSA == null ? null : effectSA.getView();
|
||||||
if (spellAbilityView != null) //updated view
|
if (spellAbilityView != null) //updated view
|
||||||
cardView = spellAbilityView.getHostCard();
|
cardView = spellAbilityView.getHostCard();
|
||||||
else //fallback
|
else //fallback
|
||||||
cardView = effectSA.getCardView();
|
cardView = effectSA == null ? null : effectSA.getCardView();
|
||||||
return this.getGui().confirm(cardView, question.replaceAll("\n", " "));
|
return this.getGui().confirm(cardView, question.replaceAll("\n", " "));
|
||||||
} else {
|
} else {
|
||||||
final InputConfirm inp = new InputConfirm(this, question, effectSA);
|
final InputConfirm inp = new InputConfirm(this, question, effectSA);
|
||||||
|
|||||||
Reference in New Issue
Block a user