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