diff --git a/Projekte/mdga/model/src/main/java/pp/mdga/game/Player.java b/Projekte/mdga/model/src/main/java/pp/mdga/game/Player.java index 3203770b..e7b8aa2e 100644 --- a/Projekte/mdga/model/src/main/java/pp/mdga/game/Player.java +++ b/Projekte/mdga/model/src/main/java/pp/mdga/game/Player.java @@ -114,6 +114,8 @@ public void removeHandCard(PowerCard card) { * @param piece as the piece which should be added to the waitingArea attribute of Player class as a Piece object. */ public void addWaitingPiece(Piece piece) { + piece.setState(PieceState.WAITING); + for (int i = 0; i < Resources.MAX_PIECES; i++) { if (this.waitingArea[i] == null) { this.waitingArea[i] = piece;