diff --git a/src/ch/zhaw/catan/SiedlerGame.java b/src/ch/zhaw/catan/SiedlerGame.java index 2fa7aec..9041b88 100644 --- a/src/ch/zhaw/catan/SiedlerGame.java +++ b/src/ch/zhaw/catan/SiedlerGame.java @@ -58,10 +58,10 @@ public class SiedlerGame { * Switches to the next player in the defined sequence of players. */ public void switchToNextPlayer() { - if (activePlayer < allPlayers.size()){ + if (activePlayer < allPlayers.size() -1){ activePlayer++; } - else if (activePlayer == allPlayers.size()){ + else if (activePlayer == allPlayers.size() -1){ activePlayer = 0; } }