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) {
|
||||
if (GuiBase.getInterface().isLibgdxPort()) {
|
||||
CardView cardView;
|
||||
SpellAbilityView spellAbilityView = effectSA.getView();
|
||||
SpellAbilityView spellAbilityView = effectSA == null ? null : effectSA.getView();
|
||||
if (spellAbilityView != null) //updated view
|
||||
cardView = spellAbilityView.getHostCard();
|
||||
else //fallback
|
||||
cardView = effectSA.getCardView();
|
||||
cardView = effectSA == null ? null : effectSA.getCardView();
|
||||
return this.getGui().confirm(cardView, question.replaceAll("\n", " "));
|
||||
} else {
|
||||
final InputConfirm inp = new InputConfirm(this, question, effectSA);
|
||||
|
||||
Reference in New Issue
Block a user