diff --git a/src/main/java/models/SucceedDrawA.java b/src/main/java/models/SucceedDrawA.java index 68871d8..7596e8a 100644 --- a/src/main/java/models/SucceedDrawA.java +++ b/src/main/java/models/SucceedDrawA.java @@ -16,9 +16,9 @@ public void inputDrawA(int guess, int target) { this.value = new AbstractMap.SimpleEntry<>((handsB.getValue().get(target).getKey()==guess), target); List deck = this.deck.getValue(); + this.handsA.updateSucceedDrawA(value, deck); this.handsB.updateSucceedDrawA(value, deck); this.deck.updateSucceedDrawA(value); - this.handsA.updateSucceedDrawA(value, deck); } public Map.Entry getValue() { return value;