More draft stability (#9718)

This commit is contained in:
sprangg 2022-11-25 18:44:14 +02:00 committed by GitHub
parent 3a036fe52a
commit 0627dc4640
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 4 deletions

View file

@ -304,7 +304,9 @@
countdown.start();
}
SessionHandler.setBoosterLoaded(draftId); // confirm to the server that the booster has been loaded
if (!draftBooster.isEmptyGrid()) {
SessionHandler.setBoosterLoaded(draftId); // confirm to the server that the booster has been successfully loaded, otherwise the server will re-send the booster
}
}
private void loadCardsToPickedCardsArea(SimpleCardsView pickedCards) {