- Revert changes by Seravy to PlayerControllerHuman: a matter of opinion, wasn't discussed.

This commit is contained in:
Agetian
2018-05-02 07:02:38 +03:00
parent b3aaf2e0e4
commit bd0bad4254

View File

@@ -1451,7 +1451,14 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
}
final ImmutableList<String> colorNames = colorNamesBuilder.build();
return MagicColor.fromName(getGui().one(message, colorNames));
if (colorNames.size() > 2) {
return MagicColor.fromName(getGui().one(message, colorNames));
}
boolean confirmed = false;
confirmed = InputConfirm.confirm(this, CardView.get(c), message, true, colorNames);
final int idxChosen = confirmed ? 0 : 1;
return MagicColor.fromName(colorNames.get(idxChosen));
}
@Override