[Mobile] Prevent Conceding while on Mulligan

closes issue #1376
This commit is contained in:
Anthony Calosa
2020-10-22 20:36:59 +08:00
parent dfc4b5af13
commit 63e67b0aa5
4 changed files with 15 additions and 4 deletions

View File

@@ -54,6 +54,7 @@ public class InputLondonMulligan extends InputSyncronizedBase {
public final void showMessage() {
final Localizer localizer = Localizer.getInstance();
final Game game = player.getGame();
game.getView().updateIsMulligan(true);
int cardsLeft = toReturn - selected.size();
StringBuilder sb = new StringBuilder();
@@ -79,6 +80,7 @@ public class InputLondonMulligan extends InputSyncronizedBase {
private void done() {
resetCardHighlights();
getController().getGame().getView().updateIsMulligan(false);
stop();
}