ich will fertig werden
This commit is contained in:
@@ -41,7 +41,7 @@ class EndBallEvent(Event):
|
||||
self.scorePoints()
|
||||
self.gameState.currentPlayer.deactivate()
|
||||
|
||||
if self.gameState.currentPlayer.ballsLeft == 0 and self.gameState.currentPlayer.id == len(self.gameState.players):
|
||||
if self.gameState.currentPlayer.ballsLeft == 0 and self.gameState.currentPlayer.id == len(self.gameState.players) - 1:
|
||||
self.gameState.endGame()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user