Skip to content

Commit

Permalink
FIX: Nach Ende der Aktions- bzw. Kaufphase wird nextPhase statt newTu…
Browse files Browse the repository at this point in the history
…rn aufgerufen
  • Loading branch information
Julia committed May 1, 2020
1 parent 56f4679 commit 8aae43e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void executeActionPhase(Player player, short cardId) {
//TODO: availableActions um 1 verringern, wenn Aktionskarte erfolgreich gespielt wurde

if (player.getAvailableActions() == 0) {
playground.newTurn();
playground.nextPhase();
}
}

Expand All @@ -52,7 +52,7 @@ public void executeBuyPhase(Player player, short cardId) {
//TODO: availableBuys um 1 verringern, wenn Kauf erfolgreich war

if (player.getAvailableBuys() == 0) {
playground.newTurn();
playground.nextPhase();
}
}

Expand Down

0 comments on commit 8aae43e

Please sign in to comment.